Commit 56d87fcb authored by Dan Williams's avatar Dan Williams
Browse files

applet: fix dbus connection refcounting after 8627880e

parent 8627880e
......@@ -121,7 +121,6 @@ add_connection_real (NMAGConfSettings *self, NMAGConfConnection *connection)
nm_exported_connection_register_object (NM_EXPORTED_CONNECTION (connection),
dbus_g_connection_unref (priv->bus);
nm_settings_signal_new_connection (NM_SETTINGS (self), NM_EXPORTED_CONNECTION (connection));
......@@ -433,6 +432,9 @@ dispose (GObject *object)
priv->disposed = TRUE;
if (priv->bus)
dbus_g_connection_unref (priv->bus);
g_hash_table_destroy (priv->pending_changes);
if (priv->read_connections_id) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment