X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=libview%2Fev-view.h;h=0c9db0a2eeca16985b4a57c6bc9edbef2fd27e9b;hb=4912987303aefef0d02a45726b75e5fdae043982;hp=af12bafe5952e916a9a33a695b5608af0ef0492b;hpb=68d0fc3c59185065d9694ba3f8cb2665b984eb9f;p=evince.git diff --git a/libview/ev-view.h b/libview/ev-view.h index af12bafe..0c9db0a2 100644 --- a/libview/ev-view.h +++ b/libview/ev-view.h @@ -17,13 +17,16 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. */ +#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef __EV_VIEW_H__ #define __EV_VIEW_H__ #include -#include "ev-document.h" -#include "ev-link.h" +#include G_BEGIN_DECLS @@ -31,9 +34,6 @@ G_BEGIN_DECLS #define EV_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_VIEW, EvView)) #define EV_IS_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_VIEW)) -#define EV_TYPE_SIZING_MODE (ev_sizing_mode_get_type()) -#define EV_SIZING_MODE_CLASS (g_type_class_peek (EV_TYPE_SIZING_MODE)) - typedef struct _EvView EvView; typedef struct _EvViewClass EvViewClass; @@ -50,7 +50,6 @@ typedef enum { } EvViewSelectionMode; GType ev_view_get_type (void) G_GNUC_CONST; -GType ev_sizing_mode_get_type (void) G_GNUC_CONST; GtkWidget* ev_view_new (void); void ev_view_set_document (EvView *view,