X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=libdocument%2Fev-link-action.h;h=19656796fbcdeaae1216aece19a403a146665891;hb=c9525f15920d12cb778b342f30dacf9e3782204a;hp=32211fe21bf494c1ea19cd8e2432e61f30ddd4dc;hpb=13a06349251874bd35d2f03c3fc93217cee749a2;p=evince.git diff --git a/libdocument/ev-link-action.h b/libdocument/ev-link-action.h index 32211fe2..19656796 100644 --- a/libdocument/ev-link-action.h +++ b/libdocument/ev-link-action.h @@ -18,6 +18,10 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. */ +#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef EV_LINK_ACTION_H #define EV_LINK_ACTION_H @@ -37,8 +41,6 @@ typedef struct _EvLinkActionPrivate EvLinkActionPrivate; #define EV_IS_LINK_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), EV_TYPE_LINK_ACTION)) #define EV_LINK_ACTION_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS((object), EV_TYPE_LINK_ACTION, EvLinkActionClass)) -#define EV_TYPE_LINK_ACTION_TYPE (ev_link_action_type_get_type ()) - typedef enum { EV_LINK_ACTION_TYPE_GOTO_DEST, EV_LINK_ACTION_TYPE_GOTO_REMOTE, @@ -49,7 +51,6 @@ typedef enum { * actions */ } EvLinkActionType; -GType ev_link_action_type_get_type (void) G_GNUC_CONST; GType ev_link_action_get_type (void) G_GNUC_CONST; EvLinkActionType ev_link_action_get_action_type (EvLinkAction *self);