From eb34d3f3ff952ec28d283b906a996fd5338c8ce1 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 20 Dec 2013 11:24:06 -0500 Subject: [PATCH] tui: remove a workaround for a fixed libnm-glib bug --- tui/nmt-connect-connection-list.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/tui/nmt-connect-connection-list.c b/tui/nmt-connect-connection-list.c index 12d16da54e..b103dd0283 100644 --- a/tui/nmt-connect-connection-list.c +++ b/tui/nmt-connect-connection-list.c @@ -567,13 +567,6 @@ secrets_requested (NmtSecretAgent *agent, } -static gboolean -idle_unref_ac (gpointer ac) -{ - g_object_unref (ac); - return FALSE; -} - static void activation_complete (GSimpleAsyncResult *simple, GError *error) @@ -614,9 +607,7 @@ activate_ac_state_changed (GObject *object, } g_signal_handlers_disconnect_by_func (object, G_CALLBACK (activate_ac_state_changed), simple); - - /* Work around NMObject bug for now: fix is 1981323b */ - g_idle_add (idle_unref_ac, object); + g_object_unref (object); activation_complete (simple, error); g_clear_error (&error);