chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Unref dead pixmaps.
[disorder]
/
disobedience
/
queue-generic.c
diff --git
a/disobedience/queue-generic.c
b/disobedience/queue-generic.c
index 21b353e488cf109703c695bfdc0ea21a5b650e8a..081be81d1c26462cc34aa1130e6e10209c35a788 100644
(file)
--- a/
disobedience/queue-generic.c
+++ b/
disobedience/queue-generic.c
@@
-492,6
+492,8
@@
static void ql_drag_begin(GtkWidget attribute((unused)) *w,
0, y, /* dest coords */
pxw, pxh); /* size */
y += pxh;
+ gdk_drawable_unref(qdbs->pixmaps[n]);
+ qdbs->pixmaps[n] = NULL;
}
// TODO scale down a bit, the resulting icons are currently a bit on the
// large side.