summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2008-06-16 20:02:33 +0000
committerMichael Natterer <mitch@src.gnome.org>2008-06-16 20:02:33 +0000
commitf5f865d43c451e5b9f2a9402341036edf6a3e8af (patch)
tree877e2c811b2d4a9760429cece0951ff7df19a2d0 /gtk
parent422a4dd1d2b63d83a21cf58da761629d614ca6d1 (diff)
downloadgtk+-f5f865d43c451e5b9f2a9402341036edf6a3e8af.tar.gz
use gtk_binding_entry_clear() instead of gtk_binding_entry_add() (the
2008-06-16 Michael Natterer <mitch@imendio.com> * gtk/gtkbindings.c (_gtk_binding_entry_add_signall): use gtk_binding_entry_clear() instead of gtk_binding_entry_add() (the former is deprecated and #defined to gtk_binding_entry_clear) svn path=/trunk/; revision=20408
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkbindings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkbindings.c b/gtk/gtkbindings.c
index 2fa4665aee..472c8a4dc9 100644
--- a/gtk/gtkbindings.c
+++ b/gtk/gtkbindings.c
@@ -864,7 +864,7 @@ _gtk_binding_entry_add_signall (GtkBindingSet *binding_set,
entry = binding_ht_lookup_entry (binding_set, keyval, modifiers);
if (!entry)
{
- gtk_binding_entry_add (binding_set, keyval, modifiers);
+ gtk_binding_entry_clear (binding_set, keyval, modifiers);
entry = binding_ht_lookup_entry (binding_set, keyval, modifiers);
}
signal_p = &entry->signals;