From 841af08641cf0d4dcec4cb26691fd7d1eaabbfdd Mon Sep 17 00:00:00 2001 From: Maciej Stachowiak Date: Sat, 27 Jan 2001 01:28:59 +0000 Subject: 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. --- libnautilus-extensions/nautilus-file-operations.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libnautilus-extensions/nautilus-file-operations.h') 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 +#include 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); -- cgit v1.2.1