projects
/
simple-launcher
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed3a265
)
make a private copy of the icon obtained through gtk_icon_them_load_icon
author
mishas
<mikhail.sobolev@gmail.com>
Mon, 16 Apr 2007 19:09:47 +0000
(19:09 +0000)
committer
mishas
<mikhail.sobolev@gmail.com>
Mon, 16 Apr 2007 19:09:47 +0000
(19:09 +0000)
git-svn-id: file:///svnroot/simple-launcher/trunk@191
3ba93dab
-e023-0410-b42a-
de7732cf370a
launcher-item.cc
patch
|
blob
|
history
diff --git
a/launcher-item.cc
b/launcher-item.cc
index
39fa274
..
2b8c79f
100644
(file)
--- a/
launcher-item.cc
+++ b/
launcher-item.cc
@@
-162,6
+162,14
@@
GdkPixbuf *LauncherItem::getIcon(int icon_size) const {
}
}
+ if (pixbuf != NULL) {
+ GdkPixbuf *tempo = gdk_pixbuf_copy(pixbuf);
+
+ g_object_unref(pixbuf);
+
+ pifxbuf = tempo;
+ }
+
return pixbuf;
}