summaryrefslogtreecommitdiff
path: root/libview/ev-view-private.h
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-07-03 11:26:07 +0200
committerraveit65 <[email protected]>2016-07-03 11:26:07 +0200
commite33b8def6f07f907797786a06342d23a3b075673 (patch)
treebaf42eb280acd930ec00a492993659a52c8b322a /libview/ev-view-private.h
parent13b6e1642096a2a37b0b220dcec5f02c31f96adf (diff)
downloadatril-e33b8def6f07f907797786a06342d23a3b075673.tar.bz2
atril-e33b8def6f07f907797786a06342d23a3b075673.tar.xz
GTK+-3 ev-view: Make EvView inherit from GtkContainer instead of GtkFixed
It makes handling child widgets easier. Based on patch by José aliste, see bug http://bugzilla.gnome.org/show_bug.cgi?id=573748 taken from: https://git.gnome.org/browse/evince/commit/?id=de237e0
Diffstat (limited to 'libview/ev-view-private.h')
-rw-r--r--libview/ev-view-private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libview/ev-view-private.h b/libview/ev-view-private.h
index 161ede79..30f6ff0e 100644
--- a/libview/ev-view-private.h
+++ b/libview/ev-view-private.h
@@ -110,6 +110,11 @@ typedef struct _EvHeightToPageCache {
struct _EvView {
GtkLayout layout;
+#if GTK_CHECK_VERSION (3, 0, 0)
+ /* Container */
+ GList *children;
+#endif
+
EvDocument *document;
/* Find */