[midgard-commits] r19885 - branches/ragnaroek/midgard/core/midgard/src
piotras
midgard-commits at lists.midgard-project.org
Fri Dec 19 13:19:11 CET 2008
Author: piotras
Date: Fri Dec 19 13:19:11 2008
New Revision: 19885
URL: http://trac.midgard-project.org/software/changeset/19885
Log:
Do not send message when compiled without dbus
Modified:
branches/ragnaroek/midgard/core/midgard/src/midgard_dbus.c
Modified: branches/ragnaroek/midgard/core/midgard/src/midgard_dbus.c
==============================================================================
--- branches/ragnaroek/midgard/core/midgard/src/midgard_dbus.c (original)
+++ branches/ragnaroek/midgard/core/midgard/src/midgard_dbus.c Fri Dec 19 13:19:11 2008
@@ -187,7 +187,7 @@
{
#ifndef MIDGARD_DBUS_SUPPORT
-return;
+ return;
#endif
DBusGProxy *remote_object = __get_bus_proxy(mgd, path);
@@ -208,6 +208,11 @@
void _midgard_core_dbus_send_serialized_object(MgdObject *object, const gchar *path)
{
+
+#ifndef MIDGARD_DBUS_SUPPORT
+ return;
+#endif
+
g_assert(object != NULL);
g_assert(path != NULL);
More information about the midgard-commits
mailing list