diff options
Diffstat (limited to 'libnautilus-private/nautilus-dnd.c')
-rw-r--r-- | libnautilus-private/nautilus-dnd.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/libnautilus-private/nautilus-dnd.c b/libnautilus-private/nautilus-dnd.c index 0e88b2f8d..1eb7e2dd6 100644 --- a/libnautilus-private/nautilus-dnd.c +++ b/libnautilus-private/nautilus-dnd.c @@ -69,16 +69,11 @@ void nautilus_drag_init (NautilusDragInfo *drag_info, const GtkTargetEntry *drag_types, - int drag_type_count, - GdkBitmap *stipple) + int drag_type_count) { drag_info->target_list = gtk_target_list_new (drag_types, drag_type_count); - if (stipple != NULL) { - drag_info->stipple = g_object_ref (stipple); - } - drag_info->drop_occured = FALSE; drag_info->need_to_destroy = FALSE; } @@ -89,10 +84,6 @@ nautilus_drag_finalize (NautilusDragInfo *drag_info) gtk_target_list_unref (drag_info->target_list); nautilus_drag_destroy_selection_list (drag_info->selection_list); - if (drag_info->stipple != NULL) { - g_object_unref (drag_info->stipple); - } - g_free (drag_info); } |