Rather a trivial patch:

        HTH,

                Michael.

diff -u -r1.472 ChangeLog
--- ChangeLog   25 May 2005 10:52:59 -0000      1.472
+++ ChangeLog   26 May 2005 13:44:06 -0000
@@ -1,3 +1,8 @@
+2005-05-26  Michael Meeks  <[EMAIL PROTECTED]>
+
+       * cspi/bonobo/cspi-bonobo-listener.c
+       (cspi_event_list_remove_by_cb): actually filter by callback.
+
 2005-05-25  Michael Meeks  <[EMAIL PROTECTED]>
 
        * registryd/registry.c (remove_listener_cb),

diff -u -r1.23 cspi-bonobo-listener.c
--- cspi/bonobo/cspi-bonobo-listener.c  14 Apr 2005 17:35:24 -0000      1.23
+++ cspi/bonobo/cspi-bonobo-listener.c  26 May 2005 13:44:06 -0000
@@ -71,10 +71,12 @@
     {
       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;


-- 
 [EMAIL PROTECTED]  <><, Pseudo Engineer, itinerant idiot

_______________________________________________
Gnome-accessibility-devel mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel

Reply via email to