]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkfilechooserdefault.c
filechooser: Use _gtk_file_has_native_path() throughout when testing for local_only
[~andy/gtk] / gtk / gtkfilechooserdefault.c
index 55788e366916fbedbd60ded5f8a4a812c48e7795..99c4200abdf2a7d3fc24bdeab151e63d3fa39f77 100644 (file)
@@ -5159,7 +5159,7 @@ set_local_only (GtkFileChooserDefault *impl,
        }
 
       if (local_only && impl->current_folder &&
-           !g_file_is_native (impl->current_folder))
+           !_gtk_file_has_native_path (impl->current_folder))
        {
          /* If we are pointing to a non-local folder, make an effort to change
           * back to a local folder, but it's really up to the app to not cause