mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
mountoperation: fix previous commit
We don't want to call this method if there's no shell agent.
This commit is contained in:
parent
a67e885531
commit
5addd8cbe6
@ -202,7 +202,8 @@ gtk_mount_operation_init (GtkMountOperation *operation)
|
||||
g_clear_object (&operation->priv->handler);
|
||||
g_free (name_owner);
|
||||
|
||||
g_dbus_proxy_set_default_timeout (G_DBUS_PROXY (operation->priv->handler), G_MAXINT);
|
||||
if (operation->priv->handler)
|
||||
g_dbus_proxy_set_default_timeout (G_DBUS_PROXY (operation->priv->handler), G_MAXINT);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user