From f7827253de9528b00b22baedd96dc1e06ba0ca68 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 22 Mar 2001 21:56:01 +0000 Subject: Leak plug: free the target list after starting the drag. svn path=/trunk/; revision=8904 --- shell/ChangeLog | 5 +++++ shell/e-storage-set-view.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index f9e7f0e005..001b047f4f 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2001-03-22 Ettore Perazzoli + + * e-storage-set-view.c (motion_notify_event): Unref the target + list we create on the fly. + 2001-03-22 Ettore Perazzoli * e-shell-folder-creation-dialog.c (async_create_cb): Changed diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c index b8c59b956d..fcc288b70b 100644 --- a/shell/e-storage-set-view.c +++ b/shell/e-storage-set-view.c @@ -812,8 +812,6 @@ motion_notify_event (GtkWidget *widget, GdkDragAction actions; GdkDragContext *context; - puts (__FUNCTION__); - storage_set_view = E_STORAGE_SET_VIEW (widget); priv = storage_set_view->priv; @@ -843,6 +841,8 @@ motion_notify_event (GtkWidget *widget, 1, (GdkEvent *) event); gtk_drag_set_icon_default (context); + gtk_target_list_unref (target_list); + return FALSE; } -- cgit v1.2.3