X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=shell%2Fev-view-private.h;h=91f43154de25ca9fcda006ea79def8b8ce1ea2cf;hb=f693b48e9ca24fec37c190cdb90682c67e8e6c28;hp=9a0c7731b64cbc6789342429754d49a54e0d7647;hpb=0fc3e8a303bdbee7e6a3431b9c5443648571fb25;p=evince.git diff --git a/shell/ev-view-private.h b/shell/ev-view-private.h index 9a0c7731..91f43154 100644 --- a/shell/ev-view-private.h +++ b/shell/ev-view-private.h @@ -43,8 +43,8 @@ typedef struct { typedef enum { SCROLL_TO_KEEP_POSITION, - SCROLL_TO_CURRENT_PAGE, - SCROLL_TO_CENTER + SCROLL_TO_PAGE_POSITION, + SCROLL_TO_CENTER, } PendingScroll; typedef enum { @@ -78,7 +78,8 @@ struct _EvView { gint scroll_y; PendingScroll pending_scroll; - gboolean pending_resize; + gboolean pending_resize; + EvPoint pending_point; /* Current geometry */ @@ -128,6 +129,8 @@ struct _EvViewClass { void (*zoom_invalid) (EvView *view); void (*external_link) (EvView *view, EvLink *link); + void (*popup_menu) (EvView *view, + EvLink *link); }; #endif /* __EV_VIEW_PRIVATE_H__ */