From 63ac302bab3fee5abf0241b160bc51792511de5d Mon Sep 17 00:00:00 2001 From: "John (J5) Palmieri" Date: Mon, 16 May 2005 21:27:04 +0000 Subject: * glib/dbus-gmain.c (io_handler_dispatch): fix deadlock when using recursive g_main_loops * python/_dbus.py (class Bus): add the ProxyObjectClass alias for ProxyObject to make it easier for the Twisted networking framework to integrate dbus. * python/proxies.py (class ProxyObject): add the ProxyMethodClass alias for ProxyMethod to make it easier for the Twisted networking framework to integrate dbus. --- glib/dbus-gmain.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'glib/dbus-gmain.c') diff --git a/glib/dbus-gmain.c b/glib/dbus-gmain.c index b824f01d..046c493c 100644 --- a/glib/dbus-gmain.c +++ b/glib/dbus-gmain.c @@ -240,13 +240,7 @@ io_handler_dispatch (GIOChannel *source, handler = NULL; if (connection) - { - /* Dispatch messages */ - while (dbus_connection_dispatch (connection) == DBUS_DISPATCH_DATA_REMAINS) - ; - - dbus_connection_unref (connection); - } + dbus_connection_unref (connection); return TRUE; } -- cgit