X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=libdocument%2Fev-transition-effect.h;h=f1b868ff0805eec7388ab4d0509f9a1f6a7434bf;hb=e2796d0d1a833e63c9495193c9241bd718f68082;hp=0d778a9a5e30e5974feb22b8d81a2419a88715a4;hpb=f792ebcef8eab6e0b8fc5ff185851d038afbab56;p=evince.git diff --git a/libdocument/ev-transition-effect.h b/libdocument/ev-transition-effect.h index 0d778a9a..f1b868ff 100644 --- a/libdocument/ev-transition-effect.h +++ b/libdocument/ev-transition-effect.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_TRANSITION_EFFECT_H__ #define __EV_TRANSITION_EFFECT_H__ @@ -26,9 +30,6 @@ G_BEGIN_DECLS #define EV_TYPE_TRANSITION_EFFECT (ev_transition_effect_get_type ()) -#define EV_TYPE_TRANSITION_EFFECT_TYPE (ev_transition_effect_type_get_type ()) -#define EV_TYPE_TRANSITION_EFFECT_ALIGNMENT (ev_transition_effect_alignment_get_type ()) -#define EV_TYPE_TRANSITION_EFFECT_DIRECTION (ev_transition_effect_direction_get_type ()) #define EV_TRANSITION_EFFECT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_TRANSITION_EFFECT, EvTransitionEffect)) #define EV_TRANSITION_EFFECT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_TRANSITION_EFFECT, EvTransitionEffectClass)) #define EV_IS_TRANSITION_EFFECT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_TRANSITION_EFFECT)) @@ -76,9 +77,6 @@ struct EvTransitionEffectClass GType ev_transition_effect_get_type (void) G_GNUC_CONST; -GType ev_transition_effect_type_get_type (void) G_GNUC_CONST; -GType ev_transition_effect_alignment_get_type (void) G_GNUC_CONST; -GType ev_transition_effect_direction_get_type (void) G_GNUC_CONST; EvTransitionEffect *ev_transition_effect_new (EvTransitionEffectType type, const gchar *first_property_name,