aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-03-23 05:56:01 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-03-23 05:56:01 +0800
commitf7827253de9528b00b22baedd96dc1e06ba0ca68 (patch)
treeddfa032eef674b7b08dab364d6b1594f85162a32 /shell
parent120830dbe4bf7400b744e5a9e0558cca6d2623fa (diff)
downloadgsoc2013-evolution-f7827253de9528b00b22baedd96dc1e06ba0ca68.tar.gz
gsoc2013-evolution-f7827253de9528b00b22baedd96dc1e06ba0ca68.tar.zst
gsoc2013-evolution-f7827253de9528b00b22baedd96dc1e06ba0ca68.zip
Leak plug: free the target list after starting the drag.
svn path=/trunk/; revision=8904
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-storage-set-view.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index f9e7f0e005..001b047f4f 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,10 @@
2001-03-22 Ettore Perazzoli <ettore@ximian.com>
+ * e-storage-set-view.c (motion_notify_event): Unref the target
+ list we create on the fly.
+
+2001-03-22 Ettore Perazzoli <ettore@ximian.com>
+
* e-shell-folder-creation-dialog.c (async_create_cb): Changed
signature to match `EStorageSetResultCallback' instead of
`EStorageResultCallback', to match the changes in the async_create
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;
}