Enlightenment CVS committal Author : rephorm Project : e17 Module : proto
Dir : e17/proto/e_dbus/src/lib/notification Modified Files: client.c Log Message: fail to init if dbus connection failed =================================================================== RCS file: /cvs/e/e17/proto/e_dbus/src/lib/notification/client.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- client.c 11 Jul 2007 00:45:53 -0000 1.1 +++ client.c 11 Jul 2007 00:46:21 -0000 1.2 @@ -10,6 +10,11 @@ if (!e_dbus_init()) return 0; client_conn = e_dbus_bus_get(DBUS_BUS_SESSION); + if (!client_conn) + { + e_dbus_shutdown(); + return 0; + } return ++init_count; } ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs