aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2013-09-22 15:47:10 +0200
committerThomas White <taw@bitwiz.org.uk>2013-09-22 15:47:10 +0200
commitccc1f0fb422b149f51b335f45fcde2b493e4358f (patch)
tree5f4579c37fc23ed0796af9d51e56de14c17f4c33
parent5cb55c97a10a7006e25e932c6dd96f5d310d684c (diff)
Unref the list of targets
-rw-r--r--src/slide_sorter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slide_sorter.c b/src/slide_sorter.c
index 995a33f..7fcb773 100644
--- a/src/slide_sorter.c
+++ b/src/slide_sorter.c
@@ -185,7 +185,7 @@ static gboolean motion_sig(GtkWidget *da, GdkEventMotion *event,
list = gtk_target_list_new(targets, 1);
gtk_drag_begin(da, list, GDK_ACTION_COPY | GDK_ACTION_MOVE,
1, (GdkEvent *)event);
- //gtk_target_list_unref(list);
+ gtk_target_list_unref(list);
n->dragging = 1;