diff options
author | Christian Persch <chpe@src.gnome.org> | 2009-01-25 15:08:57 (GMT) |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2009-01-25 15:08:57 (GMT) |
commit | 4912987303aefef0d02a45726b75e5fdae043982 (patch) | |
tree | 3856f1dc17d3c927436672171532942b997dfe2b /libdocument/ev-transition-effect.c | |
parent | b2c387604ca233c9c70a0595a24d381ddfafd1d4 (diff) |
Renamed from evince-backend.pc.in. Renamed library to libevdocument.la.
* configure.ac:
* evince-document.pc.in: Renamed from evince-backend.pc.in.
* libdocument/Makefile.am: Renamed library to libevdocument.la.
* libview/Makefile.am:
* shell/Makefile.am:
* backend/*/Makefile.am: Adapt to changed library name.
* libdocument/Makefile.am:
* libview/Makefile.am: Change the installed headers path to match
the directory names in SVN.
* evince-document.h:
* evince-view.h: Add single headers. Bug #568227.
* libdocument/*.h:
* libview/*.h: Add single headers guards.
* libview/Makefile.am:
* libdocument/Makefile.am:
* backend/*/Makefile.am:
* help/reference/Makefile.am: Define EVINCE_COMPILATION, so we can
still include individual headers.
* properties/Makefile.am:
* properties/ev-properties-main.c:
* properties/ev-properties-view.h:
* thumbnailer/Makefile.am:
* thumbnailer/evince-thumbnailer.c: Include only evince-document.h.
* libdocument/Makefile.am:
* libview/Makefile.am: Generate type builtins from all installed headers.
* libdocument/ev-link-action.[ch]:
* libdocument/ev-link-dest.[ch]:
* libdocument/ev-transition-effect.[ch]:
* libview/ev-view.[ch]: Remove handcoded type builtins.
* libdocument/Makefile.am:
* evince-document.h: Add ev-document-factory.h to the public headers.
svn path=/trunk/; revision=3381
Diffstat (limited to 'libdocument/ev-transition-effect.c')
-rw-r--r-- | libdocument/ev-transition-effect.c | 69 |
1 files changed, 4 insertions, 65 deletions
diff --git a/libdocument/ev-transition-effect.c b/libdocument/ev-transition-effect.c index 1986b77..a80fd6a 100644 --- a/libdocument/ev-transition-effect.c +++ b/libdocument/ev-transition-effect.c @@ -18,8 +18,12 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. */ +#include <config.h> + #include "ev-transition-effect.h" +#include "ev-document-type-builtins.h" + #define EV_TRANSITION_EFFECT_GET_PRIV(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), EV_TYPE_TRANSITION_EFFECT, EvTransitionEffectPrivate)) typedef struct EvTransitionEffectPrivate EvTransitionEffectPrivate; @@ -49,71 +53,6 @@ enum { G_DEFINE_TYPE (EvTransitionEffect, ev_transition_effect, G_TYPE_OBJECT) - -GType -ev_transition_effect_type_get_type (void) -{ - static GType type = 0; - - if (G_UNLIKELY (type == 0)) { - static const GEnumValue values[] = { - { EV_TRANSITION_EFFECT_REPLACE, "EV_TRANSITION_EFFECT_REPLACE", "replace" }, - { EV_TRANSITION_EFFECT_SPLIT, "EV_TRANSITION_EFFECT_SPLIT", "split" }, - { EV_TRANSITION_EFFECT_BLINDS, "EV_TRANSITION_EFFECT_BLINDS", "blinds" }, - { EV_TRANSITION_EFFECT_BOX, "EV_TRANSITION_EFFECT_BOX", "box" }, - { EV_TRANSITION_EFFECT_WIPE, "EV_TRANSITION_EFFECT_WIPE", "wipe" }, - { EV_TRANSITION_EFFECT_DISSOLVE, "EV_TRANSITION_EFFECT_DISSOLVE", "dissolve" }, - { EV_TRANSITION_EFFECT_GLITTER, "EV_TRANSITION_EFFECT_GLITTER", "glitter" }, - { EV_TRANSITION_EFFECT_FLY, "EV_TRANSITION_EFFECT_FLY", "fly" }, - { EV_TRANSITION_EFFECT_PUSH, "EV_TRANSITION_EFFECT_PUSH", "push" }, - { EV_TRANSITION_EFFECT_COVER, "EV_TRANSITION_EFFECT_COVER", "cover" }, - { EV_TRANSITION_EFFECT_UNCOVER, "EV_TRANSITION_EFFECT_UNCOVER", "uncover" }, - { EV_TRANSITION_EFFECT_FADE, "EV_TRANSITION_EFFECT_FADE", "fade" }, - { 0, NULL, NULL } - }; - - type = g_enum_register_static ("EvTransitionEffectType", values); - } - - return type; -} - -GType -ev_transition_effect_alignment_get_type (void) -{ - static GType type = 0; - - if (G_UNLIKELY (type == 0)) { - static const GEnumValue values[] = { - { EV_TRANSITION_ALIGNMENT_HORIZONTAL, "EV_TRANSITION_ALIGNMENT_HORIZONTAL", "horizontal" }, - { EV_TRANSITION_ALIGNMENT_VERTICAL, "EV_TRANSITION_ALIGNMENT_VERTICAL", "vertical" }, - { 0, NULL, NULL } - }; - - type = g_enum_register_static ("EvTransitionEffectAlignment", values); - } - - return type; -} - -GType -ev_transition_effect_direction_get_type (void) -{ - static GType type = 0; - - if (G_UNLIKELY (type == 0)) { - static const GEnumValue values[] = { - { EV_TRANSITION_DIRECTION_INWARD, "EV_TRANSITION_DIRECTION_INWARD", "inward" }, - { EV_TRANSITION_DIRECTION_OUTWARD, "EV_TRANSITION_DIRECTION_OUTWARD", "outward" }, - { 0, NULL, NULL } - }; - - type = g_enum_register_static ("EvTransitionEffectDirection", values); - } - - return type; -} - static void ev_transition_effect_set_property (GObject *object, guint prop_id, |