From e33b8def6f07f907797786a06342d23a3b075673 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 3 Jul 2016 11:26:07 +0200 Subject: GTK+-3 ev-view: Make EvView inherit from GtkContainer instead of GtkFixed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- libview/ev-view-private.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libview/ev-view-private.h') 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 */ -- cgit v1.2.1