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
This commit is contained in:
Michael Natterer 2008-06-16 20:02:33 +00:00 committed by Michael Natterer
parent 422a4dd1d2
commit f5f865d43c
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
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

View File

@ -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;