summaryrefslogtreecommitdiff
path: root/src/nautilus-application.c
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2023-03-08 11:25:43 +0100
committerCorey Berla <corey@berla.me>2023-04-24 14:29:55 +0000
commita986445936088437aef83f85906dd6c6198b1932 (patch)
treea2d203b46345e46efec112ab129d681ff8c73bca /src/nautilus-application.c
parentf20441f7ed57c12be72888e8579f1e125e8317d5 (diff)
downloadnautilus-a986445936088437aef83f85906dd6c6198b1932.tar.gz
freedesktop-dbus: Drop the connection property
The `NautilusFreedesktopDBus` class has a `connection` property, which is not needed anymore after the commit 765b4d24. Let's drop that property now. This effectively reverts a big part of commit 2293e813. Related: https://gitlab.gnome.org/GNOME/nautilus/-/merge_requests/1134
Diffstat (limited to 'src/nautilus-application.c')
-rw-r--r--src/nautilus-application.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nautilus-application.c b/src/nautilus-application.c
index 3822ebb84..b55afa825 100644
--- a/src/nautilus-application.c
+++ b/src/nautilus-application.c
@@ -1222,8 +1222,8 @@ nautilus_application_dbus_register (GApplication *app,
return FALSE;
}
- priv->fdb_manager = nautilus_freedesktop_dbus_new (connection);
- if (!nautilus_freedesktop_dbus_register (priv->fdb_manager, error))
+ priv->fdb_manager = nautilus_freedesktop_dbus_new ();
+ if (!nautilus_freedesktop_dbus_register (priv->fdb_manager, connection, error))
{
return FALSE;
}