https://www.fi.muni.cz/~kas/git
/
evince.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
631d106
)
[libview] Fix wrong gtk version checks
author
Christian Persch
<chpe@gnome.org>
Mon, 13 Sep 2010 13:05:18 +0000
(15:05 +0200)
committer
Christian Persch
<chpe@gnome.org>
Sun, 26 Sep 2010 14:44:39 +0000
(16:44 +0200)
It was the wrong way round.
libview/ev-view-presentation.c
patch
|
blob
|
history
diff --git
a/libview/ev-view-presentation.c
b/libview/ev-view-presentation.c
index 8ce8c5d9a7950cc29009e7cf8719b5380ae781f6..75e2e77e5f79fbb4a3f050165ed6b14ff728dbc5 100644
(file)
--- a/
libview/ev-view-presentation.c
+++ b/
libview/ev-view-presentation.c
@@
-1056,7
+1056,7
@@
ev_view_presentation_expose_event (GtkWidget *widget,
if (ev_transition_animation_ready (pview->animation)) {
ev_view_presentation_get_page_area (pview, &page_area);
-#if GTK_CHECK_VERSION (2, 90, 8)
+#if
!
GTK_CHECK_VERSION (2, 90, 8)
cr = gdk_cairo_create (gtk_widget_get_window (widget));
#endif
@@
-1069,7
+1069,7
@@
ev_view_presentation_expose_event (GtkWidget *widget,
ev_transition_animation_paint (pview->animation, cr, page_area);
-#if GTK_CHECK_VERSION (2, 90, 8)
+#if
!
GTK_CHECK_VERSION (2, 90, 8)
cairo_destroy (cr);
#endif
}