diff options
author | Dan Winship <danw@gnome.org> | 2013-12-20 11:24:06 -0500 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2013-12-20 11:26:45 -0500 |
commit | eb34d3f3ff952ec28d283b906a996fd5338c8ce1 (patch) | |
tree | e62e2284d2b210b205107963d7fa0f774aa065e8 | |
parent | b9f1d0b361b20e80ac280221bc547fa2484b9604 (diff) | |
download | NetworkManager-eb34d3f3ff952ec28d283b906a996fd5338c8ce1.tar.gz |
tui: remove a workaround for a fixed libnm-glib bug
-rw-r--r-- | tui/nmt-connect-connection-list.c | 11 |
1 files changed, 1 insertions, 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); |