Commit 68fc9bae authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson

Update to new flags API

2007-12-14  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-file-operations.c:
        * libnautilus-private/nautilus-monitor.c:
        * libnautilus-private/nautilus-open-with-dialog.c:
	Update to new flags API


svn path=/trunk/; revision=13530
parent 6559286c
2007-12-14 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-file-operations.c:
* libnautilus-private/nautilus-monitor.c:
* libnautilus-private/nautilus-open-with-dialog.c:
Update to new flags API
2007-12-14 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-bookmark.c:
......
......@@ -4607,7 +4607,7 @@ create_job (GIOSchedulerJob *io_job,
if (job->src) {
res = g_file_copy (job->src,
dest,
G_FILE_COPY_FLAGS_NONE,
G_FILE_COPY_NONE,
common->cancellable,
NULL, NULL,
&error);
......@@ -4618,7 +4618,7 @@ create_job (GIOSchedulerJob *io_job,
}
out = g_file_create (dest,
G_FILE_CREATE_FLAGS_NONE,
G_FILE_CREATE_NONE,
common->cancellable,
&error);
if (out) {
......
......@@ -46,7 +46,7 @@ nautilus_monitor_active (void)
if (tried_monitor == FALSE) {
file = g_file_new_for_path (g_get_home_dir ());
dir_monitor = g_file_monitor_directory (file, G_FILE_MONITOR_FLAGS_NONE, NULL);
dir_monitor = g_file_monitor_directory (file, G_FILE_MONITOR_NONE, NULL);
g_object_unref (file);
monitor_success = (dir_monitor != NULL);
......@@ -124,7 +124,7 @@ nautilus_monitor_directory (GFile *location)
GDirectoryMonitor *dir_monitor;
NautilusMonitor *ret;
dir_monitor = g_file_monitor_directory (location, G_FILE_MONITOR_FLAGS_MONITOR_MOUNTS, NULL);
dir_monitor = g_file_monitor_directory (location, G_FILE_MONITOR_WATCH_MOUNTS, NULL);
if (dir_monitor == NULL) {
return NULL;
......
......@@ -241,7 +241,7 @@ add_or_find_application (NautilusOpenWithDialog *dialog)
if (app_name != NULL) {
app = g_app_info_create_from_commandline (commandline,
app_name,
G_APP_INFO_CREATE_FLAGS_NONE,
G_APP_INFO_CREATE_NONE,
&error);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment