[gtk+] Use default VFS, not a local one (it has no network)



commit b579fa82fe4559db72e6583745fef206c2b59db6
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date:   Mon May 2 14:45:44 2016 +0000

    Use default VFS, not a local one (it has no network)

 gtk/gtkplacesview.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkplacesview.c b/gtk/gtkplacesview.c
index 19af4ed..0bbf669 100644
--- a/gtk/gtkplacesview.c
+++ b/gtk/gtkplacesview.c
@@ -1009,7 +1009,7 @@ fetch_networks (GtkPlacesView *view)
   gboolean found;
 
   priv = gtk_places_view_get_instance_private (view);
-  supported_uris = g_vfs_get_supported_uri_schemes (g_vfs_get_local ());
+  supported_uris = g_vfs_get_supported_uri_schemes (g_vfs_get_default ());
 
   for (found = FALSE; !found && supported_uris && supported_uris[0]; supported_uris++)
     if (g_strcmp0 (supported_uris[0], "network") == 0)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]