Enlightenment CVS committal Author : sebastid Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/bin Modified Files: ecore_dbus_test.c Log Message: Update the event structure for DBus. =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/bin/ecore_dbus_test.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- ecore_dbus_test.c 25 Jul 2006 16:02:44 -0000 1.5 +++ ecore_dbus_test.c 26 Jul 2006 12:08:06 -0000 1.6 @@ -75,14 +75,14 @@ Ecore_DBus_Event_Server_Data *event; event = ev; - if (!event->method) return 0; - printf("_ecore_dbus_event_server_data %s\n", event->method); - if (!strcmp(event->method, "org.freedesktop.DBus.Hello")) + if (event->type != ECORE_DBUS_MESSAGE_TYPE_METHOD_RETURN) return 0; + printf("_ecore_dbus_event_server_data %s\n", event->member); + if (!strcmp(event->member, "org.freedesktop.DBus.Hello")) { printf("List names\n"); ecore_dbus_method_list_names(event->server); } - else if (!strcmp(event->method, "org.freedesktop.DBus.ListNames")) + else if (!strcmp(event->member, "org.freedesktop.DBus.ListNames")) { Ecore_List *names; ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs