diff options
author | Matthias Clasen <maclas@gmx.de> | 2003-08-30 22:26:32 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2003-08-30 22:26:32 +0000 |
commit | 0a49f658c56eebac2421c9108d8e46a5c2839196 (patch) | |
tree | 4dd5568ea389a6a330b41bbb87e45fee3f5e7e47 /gtk | |
parent | e5eaa52b07d0ff8966de928c9825136c02a75a6c (diff) | |
download | gtk+-0a49f658c56eebac2421c9108d8e46a5c2839196.tar.gz |
Add some docs.
2003-08-31 Matthias Clasen <maclas@gmx.de>
* gtk/gtkactiongroup.c: Add some docs.
* gtk/gtkuimanager.[hc]: Get rid of the remove_widget signal. It
wasn't emitted anyway.
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkactiongroup.c | 15 | ||||
-rw-r--r-- | gtk/gtkuimanager.c | 9 | ||||
-rw-r--r-- | gtk/gtkuimanager.h | 2 |
3 files changed, 14 insertions, 12 deletions
diff --git a/gtk/gtkactiongroup.c b/gtk/gtkactiongroup.c index 4159d2afae..8d59dc592a 100644 --- a/gtk/gtkactiongroup.c +++ b/gtk/gtkactiongroup.c @@ -400,7 +400,6 @@ gtk_action_group_add_actions_full (GtkActionGroup *action_group, * radio action to create. * * Since: 2.4 - * **/ void gtk_action_group_add_radio_actions (GtkActionGroup *action_group, @@ -414,6 +413,20 @@ gtk_action_group_add_radio_actions (GtkActionGroup *action_group, on_change, user_data, NULL); } +/** + * gtk_action_group_add_radio_actions_full: + * @action_group: the action group + * @entries: an array of radio action descriptions + * @n_entries: the number of entries + * @on_change: the callback to connect to the changed signal + * @user_data: data to pass to the action callbacks + * @destroy: destroy notification callback for @user_data + * + * This variant of gtk_action_group_add_radio_actions() adds a + * #GDestroyNotify callback for @user_data. + * + * Since: 2.4 + **/ void gtk_action_group_add_radio_actions_full (GtkActionGroup *action_group, GtkRadioActionEntry *entries, diff --git a/gtk/gtkuimanager.c b/gtk/gtkuimanager.c index 9de7567ac5..e6a18bd1db 100644 --- a/gtk/gtkuimanager.c +++ b/gtk/gtkuimanager.c @@ -139,7 +139,6 @@ static void gtk_ui_manager_ensure_update (GtkUIManager *self); enum { ADD_WIDGET, - REMOVE_WIDGET, CHANGED, LAST_SIGNAL }; @@ -235,14 +234,6 @@ gtk_ui_manager_class_init (GtkUIManagerClass *klass) G_TYPE_NONE, 1, GTK_TYPE_WIDGET); - merge_signals[REMOVE_WIDGET] = - g_signal_new ("remove_widget", - G_OBJECT_CLASS_TYPE (klass), - G_SIGNAL_RUN_FIRST | G_SIGNAL_NO_RECURSE, - G_STRUCT_OFFSET (GtkUIManagerClass, remove_widget), NULL, NULL, - g_cclosure_marshal_VOID__OBJECT, - G_TYPE_NONE, 1, - GTK_TYPE_WIDGET); /** * GtkUIManager::changed: * @merge: a #GtkUIManager diff --git a/gtk/gtkuimanager.h b/gtk/gtkuimanager.h index 279813da86..410647caf3 100644 --- a/gtk/gtkuimanager.h +++ b/gtk/gtkuimanager.h @@ -63,8 +63,6 @@ struct _GtkUIManagerClass { void (* add_widget) (GtkUIManager *merge, GtkWidget *widget); - void (* remove_widget) (GtkUIManager *merge, - GtkWidget *widget); void (* changed) (GtkUIManager *merge); /* Padding for future expansion */ |