Enlightenment CVS committal

Author  : rephorm
Project : e17
Module  : proto

Dir     : e17/proto/e_dbus/src/lib/nm


Modified Files:
        e_nm.c e_nm_private.h 


Log Message:
use E_DBus_Connection in the api instead of DBusConnection
add refcount of E_DBus_Connection
share connections to the system/session bus (e_dbus_bus_get() will return a ref 
if it is has one)

===================================================================
RCS file: /cvs/e/e17/proto/e_dbus/src/lib/nm/e_nm.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- e_nm.c      21 Mar 2007 10:31:16 -0000      1.1
+++ e_nm.c      22 Mar 2007 01:44:13 -0000      1.2
@@ -24,7 +24,7 @@
 void
 e_nm_free(E_NM_Context *ctx)
 {
-  e_dbus_connection_close(ctx->conn);
+  e_dbus_connection_unref(ctx->conn);
   free(ctx);
 }
 
===================================================================
RCS file: /cvs/e/e17/proto/e_dbus/src/lib/nm/e_nm_private.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- e_nm_private.h      21 Mar 2007 10:31:16 -0000      1.1
+++ e_nm_private.h      22 Mar 2007 01:44:13 -0000      1.2
@@ -17,7 +17,7 @@
 
 struct E_NM_Context
 {
-  DBusConnection *conn;
+  E_DBus_Connection *conn;
 
   E_NM_Cb_Manager_State_Change cb_manager_state_change;
   void *data_manager_state_change;



-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to