diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-11-21 17:04:35 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-11-21 17:04:35 +0000 |
commit | c860866dd794b8abb0d185802d0a0dd17c5005ac (patch) | |
tree | 66eefe3e2b8cc52c655b072caa1be719ab7fa388 /gtk/gtkaccelmap.c | |
parent | d5db986a0b11b2cb7ca4fb93a2d2d40c371d5cf2 (diff) | |
download | gtk+-c860866dd794b8abb0d185802d0a0dd17c5005ac.tar.gz |
Ref-sink the tooltips object. Ref-sink the tooltips object. Fix some
Wed Nov 21 11:41:29 2001 Owen Taylor <otaylor@redhat.com>
* tests/testgtk.c (create_tooltips): Ref-sink the tooltips object.
* gtk/gtktoolbar.c (gtk_toolbar_init): Ref-sink the tooltips object.
* gtk/gtkfilesel.c (open_new_dir): Fix some constness warnings.
* gtk/gtkaccelgroup.c: Rename gtk_accel_groups_from_acceleratable()
back to gtk_accel_groups_from_object(), change @acceleratable
parameter to gtk_accel_groups_activate() accordingly.
* gtk/gtkaccelmap.c (gtk_accel_map_lookup_entry): Remove
left-over comment about quark return.
* gtk/gtkaccelmap.h: Fix spelling of gtk_accel_map_foreach_unfiltered().
* gtk/gtk-boxed.defs (GtkIconSource): added as a boxed type.
(Patch from Matt Wilson)
* gtk/gtkobject.c (gtk_object_finalize): Warn if a floating
object is finalized.
Diffstat (limited to 'gtk/gtkaccelmap.c')
-rw-r--r-- | gtk/gtkaccelmap.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk/gtkaccelmap.c b/gtk/gtkaccelmap.c index 7fe375c606..00131a5bb5 100644 --- a/gtk/gtkaccelmap.c +++ b/gtk/gtkaccelmap.c @@ -169,9 +169,7 @@ gtk_accel_map_add_entry (const gchar *accel_path, * @key: accelerator key to be filled in (optional) * @returns: %TRUE if @accel_path is known, %FALSE otherwise * - * Lookup the accelerator entry for @accel_path and fill in @key. - * If the lookup revealed no results, (0) is returned, the entry's - * #GQuark otherwise. + * Looks up the accelerator entry for @accel_path and fills in @key. */ gboolean gtk_accel_map_lookup_entry (const gchar *accel_path, @@ -279,7 +277,7 @@ internal_change_entry (const gchar *accel_path, win_list = g_hash_table_slist_values (win_hm); g_hash_table_destroy (win_hm); for (slist = win_list; slist; slist = slist->next) - for (node = gtk_accel_groups_from_acceleratable (slist->data); node; node = node->next) + for (node = gtk_accel_groups_from_object (slist->data); node; node = node->next) g_hash_table_insert (group_hm, node->data, node->data); group_list = g_hash_table_slist_values (group_hm); g_hash_table_destroy (group_hm); |