diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2002-01-07 00:13:33 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2002-01-07 00:13:33 +0000 |
commit | ed29c8ddd8ad7a5d01c2e75d69496c1388364490 (patch) | |
tree | 510dc954cdc4e94cc88142465568e68283c55fab /gtk/gtkaccellabel.c | |
parent | ef121a06fffa3095cb454259a4a153b719405264 (diff) | |
download | gtk+-ed29c8ddd8ad7a5d01c2e75d69496c1388364490.tar.gz |
Replace GTK_NO_CHECK_CASTS by G_DISABLE_CAST_CHECKS.
* docs/debugging.txt: Replace GTK_NO_CHECK_CASTS by
G_DISABLE_CAST_CHECKS.
* gtk/gtkaccelgroup.c (gtk_accel_group_from_accel_closure,
gtk_accel_group_query, gtk_accel_group_find,
gtk_accel_groups_from_object): Document.
* gtk/gtkaccellabel.c (gtk_accel_label_set_accel_closure): Document.
* gtk/tmpl/gtktypeutils.sgml: Replace GTK_NO_CHECK_CASTS by
G_DISABLE_CAST_CHECKS, fix some markup and add stuff.
* gtk/tmpl/gtkaccelgroup.sgml, gtk/tmpl/gtkwidget.sgml: Additions.
* gtk/gtk-sections.txt: Make gtk_accel_group_get_type private.
Diffstat (limited to 'gtk/gtkaccellabel.c')
-rw-r--r-- | gtk/gtkaccellabel.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/gtkaccellabel.c b/gtk/gtkaccellabel.c index 745ceca639..67560b5775 100644 --- a/gtk/gtkaccellabel.c +++ b/gtk/gtkaccellabel.c @@ -428,6 +428,14 @@ check_accel_changed (GtkAccelGroup *accel_group, gtk_accel_label_queue_refetch (accel_label); } +/** + * gtk_accel_label_set_accel_closure: + * @accel_label: a #GtkAccelLabel + * @accel_closure: the closure to monitor for accelerator changes. + * + * Sets the closure to be monitored by this accelerator label. The closure + * must be connected to an accelerator group; see gtk_accel_group_connect(). + **/ void gtk_accel_label_set_accel_closure (GtkAccelLabel *accel_label, GClosure *accel_closure) |