diff --git a/src/bin/e_msgbus.c b/src/bin/e_msgbus.c index fe97ea9c8..b4b5d79d8 100644 --- a/src/bin/e_msgbus.c +++ b/src/bin/e_msgbus.c @@ -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) {