Patch from lok to fix E compiling without e_dbus. Makes cvs build again.
authorChristopher Michael <cpmichael1@comcast.net>
Wed, 6 Aug 2008 22:52:04 +0000 (22:52 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Wed, 6 Aug 2008 22:52:04 +0000 (22:52 +0000)
Thanks lok :)

SVN revision: 35364

src/bin/e_msgbus.c

index fe97ea9..b4b5d79 100644 (file)
@@ -110,25 +110,21 @@ e_msgbus_shutdown(void)
    return 1;
 }
 
+#ifdef HAVE_EDBUS
 EAPI void
 e_msgbus_interface_attach(E_DBus_Interface *iface)
 {
-#ifdef HAVE_EDBUS
    if (!_e_msgbus_data->obj) return;
    e_dbus_object_interface_attach(_e_msgbus_data->obj, iface);
-#endif
 }
 
 EAPI void
 e_msgbus_interface_detach(E_DBus_Interface *iface)
 {
-#ifdef HAVE_EDBUS
    if (!_e_msgbus_data->obj) return;
    e_dbus_object_interface_detach(_e_msgbus_data->obj, iface);
-#endif
 }
 
-#ifdef HAVE_EDBUS
 static void
 _e_msgbus_request_name_cb(void *data, DBusMessage *msg, DBusError *err)
 {