projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e665261
)
Wrap cairo_destroy call with appropriate CPP macro
author
Michael Cross
<mc@xi2.org>
Fri, 19 Aug 2016 11:33:01 +0000
(12:33 +0100)
committer
Michael Cross
<mc@xi2.org>
Fri, 19 Aug 2016 11:34:48 +0000
(12:34 +0100)
src/cellrenderericon.c
patch
|
blob
|
history
diff --git
a/src/cellrenderericon.c
b/src/cellrenderericon.c
index
e4d0729
..
7de28db
100644
(file)
--- a/
src/cellrenderericon.c
+++ b/
src/cellrenderericon.c
@@
-692,7
+692,9
@@
gqv_cell_renderer_icon_render(GtkCellRenderer *cell,
if (!pixbuf && !text)
{
+#if !GTK_CHECK_VERSION(3,0,0)
cairo_destroy(cr);
+#endif
return;
}