Fix a crash when deregistering event listeners
authorMike Gorse <mgorse@novell.com>
Wed, 29 Dec 2010 15:41:43 +0000 (10:41 -0500)
committerMike Gorse <mgorse@novell.com>
Wed, 29 Dec 2010 15:41:43 +0000 (10:41 -0500)
atspi/atspi-event-listener.c

index 4958ae7..62dcf29 100644 (file)
@@ -649,7 +649,7 @@ atspi_event_listener_deregister_from_callback (AtspiEventListenerCB callback,
   char *category, *name, *detail, *matchrule;
   GList *l;
 
-  if (!convert_event_type_to_dbus (event_type, &category, &name, &detail, &matchrule))
+  if (!convert_event_string_to_dbus (event_type, &category, &name, &detail, &matchrule))
   {
     return FALSE;
   }