Enlightenment CVS committal
Author : englebass
Project : e17
Module : libs/e_dbus
Dir : e17/libs/e_dbus/src/lib/notification
Modified Files:
client.c daemon.c
Log Message:
No need to have both unref and close, only creates ambiguity.
===================================================================
RCS file: /cvs/e/e17/libs/e_dbus/src/lib/notification/client.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- client.c 4 Nov 2007 07:51:37 -0000 1.2
+++ client.c 24 Nov 2007 13:22:03 -0000 1.3
@@ -23,7 +23,7 @@
e_notification_shutdown(void)
{
if (--init_count) return init_count;
- e_dbus_connection_unref(client_conn);
+ e_dbus_connection_close(client_conn);
client_conn = NULL;
e_dbus_shutdown();
return 0;
===================================================================
RCS file: /cvs/e/e17/libs/e_dbus/src/lib/notification/daemon.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- daemon.c 4 Nov 2007 07:51:37 -0000 1.2
+++ daemon.c 24 Nov 2007 13:22:03 -0000 1.3
@@ -95,7 +95,7 @@
e_notification_daemon_free(E_Notification_Daemon *daemon)
{
if (daemon->obj) e_dbus_object_free(daemon->obj);
- if (daemon->conn) e_dbus_connection_unref(daemon->conn);
+ if (daemon->conn) e_dbus_connection_close(daemon->conn);
if (daemon->name) free(daemon->name);
if (daemon->vendor) free(daemon->vendor);
if (daemon->iface) e_dbus_interface_unref(daemon->iface);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs