summaryrefslogtreecommitdiff
path: root/programs
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2008-01-14 15:01:23 +0000
committerAlexander Larsson <alexl@src.gnome.org>2008-01-14 15:01:23 +0000
commita732b181601ae9bc48af3f024f95036da7b3b3c9 (patch)
treefa6fb360baa1b2abc2d60567c82a9fbede77fd37 /programs
parentd9d97c815be72ddc10434503ed3cdfb935d962c2 (diff)
downloadgvfs-a732b181601ae9bc48af3f024f95036da7b3b3c9.tar.gz
Update to new gio API
2008-01-14 Alexander Larsson <alexl@redhat.com> * client/gdaemonfile.c: * daemon/gvfsbackendlocaltest.c: * daemon/gvfsbackendtrash.c: * programs/gvfs-monitor-dir.c: * programs/gvfs-monitor-file.c: Update to new gio API svn path=/trunk/; revision=1125
Diffstat (limited to 'programs')
-rw-r--r--programs/gvfs-monitor-dir.c2
-rw-r--r--programs/gvfs-monitor-file.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/programs/gvfs-monitor-dir.c b/programs/gvfs-monitor-dir.c
index dbc2e166..bf2f6288 100644
--- a/programs/gvfs-monitor-dir.c
+++ b/programs/gvfs-monitor-dir.c
@@ -98,7 +98,7 @@ main (int argc, char *argv[])
if (argc > 1)
{
file = g_file_new_for_commandline_arg (argv[1]);
- dmonitor = g_file_monitor_directory (file, G_FILE_MONITOR_WATCH_MOUNTS, NULL);
+ dmonitor = g_file_monitor_directory (file, G_FILE_MONITOR_WATCH_MOUNTS, NULL, NULL);
if (dmonitor != NULL)
g_signal_connect (dmonitor, "changed", (GCallback)dir_monitor_callback, NULL);
else
diff --git a/programs/gvfs-monitor-file.c b/programs/gvfs-monitor-file.c
index 302b17f4..842ed938 100644
--- a/programs/gvfs-monitor-file.c
+++ b/programs/gvfs-monitor-file.c
@@ -93,7 +93,7 @@ main (int argc, char *argv[])
if (argc > 1)
{
file = g_file_new_for_commandline_arg (argv[1]);
- fmonitor = g_file_monitor_file (file, G_FILE_MONITOR_WATCH_MOUNTS, NULL);
+ fmonitor = g_file_monitor_file (file, G_FILE_MONITOR_WATCH_MOUNTS, NULL, NULL);
g_signal_connect (fmonitor, "changed", (GCallback)file_monitor_callback, NULL);
}