summaryrefslogtreecommitdiff
path: root/libnautilus-extensions/nautilus-file-operations.h
diff options
context:
space:
mode:
authorMaciej Stachowiak <mstachow@src.gnome.org>2001-01-27 01:28:59 +0000
committerMaciej Stachowiak <mstachow@src.gnome.org>2001-01-27 01:28:59 +0000
commit841af08641cf0d4dcec4cb26691fd7d1eaabbfdd (patch)
tree5c4587306791b281cf9a76219cf594e7eb627ec0 /libnautilus-extensions/nautilus-file-operations.h
parent3968d02a5e5eedc65abd27a76cfca055daf0794a (diff)
downloadnautilus-841af08641cf0d4dcec4cb26691fd7d1eaabbfdd.tar.gz
Hold a ref on the widget to avoid it being finalized before we can destroy
* src/nautilus-window-manage-views.c (disconnect_and_destroy_sidebar_panel): Hold a ref on the widget to avoid it being finalized before we can destroy it.
Diffstat (limited to 'libnautilus-extensions/nautilus-file-operations.h')
-rw-r--r--libnautilus-extensions/nautilus-file-operations.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libnautilus-extensions/nautilus-file-operations.h b/libnautilus-extensions/nautilus-file-operations.h
index b053d5980..931c44e2d 100644
--- a/libnautilus-extensions/nautilus-file-operations.h
+++ b/libnautilus-extensions/nautilus-file-operations.h
@@ -26,16 +26,19 @@
#define NAUTILUS_FILE_OPERATIONS_H
#include <gtk/gtkwidget.h>
+#include <libgnomevfs/gnome-vfs-types.h>
typedef void (* NautilusCopyCallback) (GHashTable *debuting_uris,
gpointer callback_data);
typedef void (* NautilusNewFolderCallback) (const char *new_folder_uri,
gpointer callback_data);
+/* FIXME: int copy_action should be an enum */
+
void nautilus_file_operations_copy_move (const GList *item_uris,
GArray *target_item_points,
const char *target_dir_uri,
- int copy_action,
+ GdkDragAction copy_action,
GtkWidget *parent_view,
NautilusCopyCallback done_callback,
gpointer done_callback_data);