summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-file-operations.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-03-08 13:32:39 +0100
committerAlexander Larsson <alexl@redhat.com>2010-03-08 13:32:39 +0100
commit7fb5d7f6e4c32ab391eb9f3a61c0cab59c585874 (patch)
treeb89bd58b6dff850b20774035780581327a062dff /libnautilus-private/nautilus-file-operations.h
parent43f080c97369796043e45719933f536e0b29582f (diff)
downloadnautilus-7fb5d7f6e4c32ab391eb9f3a61c0cab59c585874.tar.gz
Add nautilus_file_operations_unmount_mount_full with a callback
Diffstat (limited to 'libnautilus-private/nautilus-file-operations.h')
-rw-r--r--libnautilus-private/nautilus-file-operations.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libnautilus-private/nautilus-file-operations.h b/libnautilus-private/nautilus-file-operations.h
index 7c19e259e..b851bce44 100644
--- a/libnautilus-private/nautilus-file-operations.h
+++ b/libnautilus-private/nautilus-file-operations.h
@@ -40,6 +40,7 @@ typedef void (* NautilusDeleteCallback) (GHashTable *debuting_uris,
gpointer callback_data);
typedef void (* NautilusMountCallback) (GVolume *volume,
GObject *callback_data_object);
+typedef void (* NautilusUnmountCallback) (gpointer callback_data);
/* FIXME: int copy_action should be an enum */
@@ -93,6 +94,12 @@ void nautilus_file_operations_unmount_mount (GtkWindow *par
GMount *mount,
gboolean eject,
gboolean check_trash);
+void nautilus_file_operations_unmount_mount_full (GtkWindow *parent_window,
+ GMount *mount,
+ gboolean eject,
+ gboolean check_trash,
+ NautilusUnmountCallback callback,
+ gpointer callback_data);
void nautilus_file_operations_mount_volume (GtkWindow *parent_window,
GVolume *volume,
gboolean allow_autorun);