projects
/
geeqie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
GTK marks several functions as deprecated
[geeqie.git]
/
src
/
image.c
diff --git
a/src/image.c
b/src/image.c
index
f19324e
..
ca87189
100644
(file)
--- a/
src/image.c
+++ b/
src/image.c
@@
-905,7
+905,11
@@
static gboolean image_focus_expose(GtkWidget *widget, GdkEventExpose *event, gpo
{
ImageWindow *imd = data;
+#if GTK_CHECK_VERSION(2,20,0)
+ image_focus_paint(imd, gtk_widget_has_focus(widget), &event->area);
+#else
image_focus_paint(imd, GTK_WIDGET_HAS_FOCUS(widget), &event->area);
+#endif
return TRUE;
}