[Xfce4-commits] r30256 - terminal/trunk/terminal
Nick Schermer
nick at xfce.org
Fri Jul 10 22:31:21 CEST 2009
Author: nick
Date: 2009-07-10 20:31:21 +0000 (Fri, 10 Jul 2009)
New Revision: 30256
Modified:
terminal/trunk/terminal/terminal-preferences.c
Log:
Just figured that the local vfs is also registered in the default backends.
Modified: terminal/trunk/terminal/terminal-preferences.c
===================================================================
--- terminal/trunk/terminal/terminal-preferences.c 2009-07-10 18:48:34 UTC (rev 30255)
+++ terminal/trunk/terminal/terminal-preferences.c 2009-07-10 20:31:21 UTC (rev 30256)
@@ -1707,7 +1707,6 @@
const gchar *filename)
{
gchar *path = NULL;
- GVfs *vfs;
GError *error = NULL;
GFileInfo *info;
@@ -1722,8 +1721,7 @@
terminal_preferences_monitor_disconnect (preferences);
/* create new local file */
- vfs = g_vfs_get_local ();
- preferences->file = g_vfs_get_file_for_path (vfs, filename);
+ preferences->file = g_file_new_for_path (filename);
/* monitor the file */
preferences->monitor = g_file_monitor_file (preferences->file,
More information about the Xfce4-commits
mailing list