Commit f5f865d4 authored by Michael Natterer's avatar Michael Natterer Committed by Michael Natterer

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
parent 422a4dd1
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)
2008-06-16 Michael Natterer <mitch@imendio.com>
* gtk/gtkprintoperation-unix.c: don't include the deprecated (and
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment