* cspi/bonobo/cspi-bonobo-listener.c
(cspi_event_list_remove_by_cb): actually filter by callback.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@755
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
+2005-05-26 Michael Meeks <michael.meeks@novell.com>
+
+ * cspi/bonobo/cspi-bonobo-listener.c
+ (cspi_event_list_remove_by_cb): actually filter by callback.
+
2005-05-25 Bill Haneman <bill.haneman@sun.com>
* registryd/registry.c (remove_listener_cb):
{
EventHandler *eh = l->data;
next = l->next;
-
- list = g_list_delete_link (list, l);
-
- cspi_event_handler_free (eh);
+
+ if (eh->method == callback)
+ {
+ list = g_list_delete_link (list, l);
+ cspi_event_handler_free (eh);
+ }
}
return list;