From 90e8691111889a7b5f3c812f5a41f15a8a058913 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Tue, 7 Nov 2017 00:14:39 +0100 Subject: New upstream version 1.9.90 --- libnm/nm-remote-connection.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libnm/nm-remote-connection.c') diff --git a/libnm/nm-remote-connection.c b/libnm/nm-remote-connection.c index 0f7ea58e..5cd42555 100644 --- a/libnm/nm-remote-connection.c +++ b/libnm/nm-remote-connection.c @@ -641,7 +641,7 @@ init_sync (GInitable *initable, GCancellable *cancellable, GError **error) GVariant *settings; priv->proxy = NMDBUS_SETTINGS_CONNECTION (_nm_object_get_proxy (NM_OBJECT (initable), NM_DBUS_INTERFACE_SETTINGS_CONNECTION)); - g_signal_connect (priv->proxy, "updated", G_CALLBACK (updated_cb), initable); + g_signal_connect_object (priv->proxy, "updated", G_CALLBACK (updated_cb), initable, 0); if (nmdbus_settings_connection_call_get_settings_sync (priv->proxy, &settings, @@ -730,8 +730,8 @@ init_async (GAsyncInitable *initable, int io_priority, priv->proxy = NMDBUS_SETTINGS_CONNECTION (_nm_object_get_proxy (NM_OBJECT (initable), NM_DBUS_INTERFACE_SETTINGS_CONNECTION)); - g_signal_connect (priv->proxy, "updated", - G_CALLBACK (updated_cb), initable); + g_signal_connect_object (priv->proxy, "updated", + G_CALLBACK (updated_cb), initable, 0); nmdbus_settings_connection_call_get_settings (NM_REMOTE_CONNECTION_GET_PRIVATE (init_data->initable)->proxy, init_data->cancellable, -- cgit 1.3.0-6-gf8a5