summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgdbus/mainloop.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdbus/mainloop.c b/gdbus/mainloop.c
index edb384e..b90a844 100755
--- a/gdbus/mainloop.c
+++ b/gdbus/mainloop.c
@@ -30,8 +30,6 @@
#include "gdbus.h"
-#define DISPATCH_TIMEOUT 0
-
#define info(fmt...)
#define error(fmt...)
#define debug(fmt...)
@@ -70,8 +68,6 @@ static gboolean message_dispatch(void *data)
{
DBusConnection *conn = data;
- dbus_connection_ref(conn);
-
/* Dispatch messages */
while (dbus_connection_dispatch(conn) == DBUS_DISPATCH_DATA_REMAINS);