]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkradioaction.c
entrycompletion: Don't reconnect signals all the time
[~andy/gtk] / gtk / gtkradioaction.c
index 96f1163205ff523e99d59e48a0a45e389de4f593..4a5aaa786f1e27d340bd2fa8485529cc56a78bf3 100644 (file)
@@ -14,9 +14,7 @@
  * Library General Public License for more details.
  *
  * You should have received a copy of the GNU Library General Public
- * License along with the Gnome Library; see the file COPYING.LIB.  If not,
- * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
 /*
@@ -193,10 +191,11 @@ gtk_radio_action_init (GtkRadioAction *action)
 /**
  * gtk_radio_action_new:
  * @name: A unique name for the action
- * @label: (allow-none): The label displayed in menu items and on buttons, or %NULL
+ * @label: (allow-none): The label displayed in menu items and on buttons,
+ *   or %NULL
  * @tooltip: (allow-none): A tooltip for this action, or %NULL
- * @stock_id: The stock icon to display in widgets representing this
- *   action, or %NULL
+ * @stock_id: (allow-none): The stock icon to display in widgets representing
+ *   this action, or %NULL
  * @value: The value which gtk_radio_action_get_current_value() should
  *   return if this action is selected.
  *
@@ -338,7 +337,7 @@ gtk_radio_action_activate (GtkAction *action)
          if (gtk_toggle_action_get_active (tmp_action) &&
               (tmp_action != toggle_action))
            {
-              gtk_toggle_action_set_active (toggle_action, !active);
+              _gtk_toggle_action_set_active (toggle_action, !active);
 
              break;
            }
@@ -347,7 +346,7 @@ gtk_radio_action_activate (GtkAction *action)
     }
   else
     {
-      gtk_toggle_action_set_active (toggle_action, !active);
+      _gtk_toggle_action_set_active (toggle_action, !active);
       g_object_notify (G_OBJECT (action), "active");
 
       tmp_list = radio_action->private_data->group;