Patch from lok to fix E compiling without e_dbus. Makes cvs build again.

Thanks lok :)


SVN revision: 35364
This commit is contained in:
Christopher Michael 2008-08-06 22:52:04 +00:00
parent 63742d8f1e
commit c430855a1d
1 changed files with 1 additions and 5 deletions

View File

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