]> www.fi.muni.cz Git - evince.git/blobdiff - libview/ev-view-private.h
[dualscreen] fix crash on ctrl+w and fix control window closing
[evince.git] / libview / ev-view-private.h
index a3655072f576d140ba126d36e76eada3c1479ed2..3355457614c4ae3618234955f9d12203964b7604 100644 (file)
@@ -110,6 +110,9 @@ typedef struct _EvHeightToPageCache {
 struct _EvView {
        GtkLayout layout;
 
+       /* Container */
+       GList *children;
+
        EvDocument *document;
 
        /* Find */
@@ -132,6 +135,10 @@ struct _EvView {
        /* Scrolling */
        GtkAdjustment *hadjustment;
        GtkAdjustment *vadjustment;
+       /* GtkScrollablePolicy needs to be checked when
+        * driving the scrollable adjustment values */
+       guint hscroll_policy : 1;
+       guint vscroll_policy : 1;
 
        gint scroll_x;
        gint scroll_y;  
@@ -212,6 +219,7 @@ struct _EvViewClass {
                                           EvSourceLink   *link);
        void    (*annot_added)            (EvView         *view,
                                           EvAnnotation   *annot);
+       void    (*layers_changed)         (EvView         *view);
 };
 
 void _get_page_size_for_scale_and_rotation (EvDocument *document,