mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 22:20:24 +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,6 +202,7 @@ gtk_mount_operation_init (GtkMountOperation *operation)
|
||||
g_clear_object (&operation->priv->handler);
|
||||
g_free (name_owner);
|
||||
|
||||
if (operation->priv->handler)
|
||||
g_dbus_proxy_set_default_timeout (G_DBUS_PROXY (operation->priv->handler), G_MAXINT);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user