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
/
view_file.c
diff --git
a/src/view_file.c
b/src/view_file.c
index
3fb9261
..
e0c2419
100644
(file)
--- a/
src/view_file.c
+++ b/
src/view_file.c
@@
-878,7
+878,11
@@
static gboolean vf_thumb_next(ViewFile *vf)
{
FileData *fd = NULL;
+#if GTK_CHECK_VERSION(2,20,0)
+ if (!gtk_widget_get_realized(vf->listview))
+#else
if (!GTK_WIDGET_REALIZED(vf->listview))
+#endif
{
vf_thumb_status(vf, 0.0, NULL);
return FALSE;