Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_msgbus.h 


Log Message:
- If e is built with dbus support, pass the DBUS flag on to modules.
- Only export functions which don't require dbus from e_msgbus.h

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_msgbus.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_msgbus.h  2 Nov 2007 12:07:09 -0000       1.2
+++ e_msgbus.h  5 Aug 2008 13:52:01 -0000       1.3
@@ -3,10 +3,6 @@
  */
 #ifdef E_TYPEDEFS
 
-#ifndef HAVE_EDBUS
-#define E_DBus_Interface void
-#endif
-
 typedef struct _E_Msgbus_Data E_Msgbus_Data;
 
 #else
@@ -15,18 +11,20 @@
 
 /* This is the dbus subsystem, but e_dbus namespace is taken by e_dbus */
 
+#ifdef HAVE_EDBUS
 struct _E_Msgbus_Data 
 {
-#ifdef HAVE_EDBUS
    E_DBus_Connection *conn;
    E_DBus_Object     *obj;
-#endif
 };
+#endif
 
 EAPI int e_msgbus_init(void);
 EAPI int e_msgbus_shutdown(void);
+#ifdef HAVE_EDBUS
 EAPI void e_msgbus_interface_attach(E_DBus_Interface *iface);
 EAPI void e_msgbus_interface_detach(E_DBus_Interface *iface);
+#endif
 
 #endif
 #endif



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to