From f343927df4325959193353c52cff1ea4b20b2286 Mon Sep 17 00:00:00 2001 From: Darren Kenny Date: Mon, 14 Jul 2008 21:44:43 +0000 Subject: [PATCH] Fixes bug #542924. Makes enums static to fix Solaris build. 2008-07-15 Darren Kenny * libdocument/ev-transition-effect.c (ev_transition_effect_type_get_type), (ev_transition_effect_alignment_get_type), (ev_transition_effect_direction_get_type): Fixes bug #542924. Makes enums static to fix Solaris build. svn path=/trunk/; revision=3071 --- ChangeLog | 9 +++++++++ libdocument/ev-transition-effect.c | 6 +++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 25c545cd..782e3dc1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2008-07-15 Darren Kenny + + * libdocument/ev-transition-effect.c + (ev_transition_effect_type_get_type), + (ev_transition_effect_alignment_get_type), + (ev_transition_effect_direction_get_type): + + Fixes bug #542924. Makes enums static to fix Solaris build. + 2008-07-13 Carlos Garcia Campos * shell/ev-view.c: (ev_view_key_press_event): diff --git a/libdocument/ev-transition-effect.c b/libdocument/ev-transition-effect.c index 7c73ca79..1986b774 100644 --- a/libdocument/ev-transition-effect.c +++ b/libdocument/ev-transition-effect.c @@ -56,7 +56,7 @@ ev_transition_effect_type_get_type (void) static GType type = 0; if (G_UNLIKELY (type == 0)) { - const GEnumValue values[] = { + 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" }, @@ -84,7 +84,7 @@ ev_transition_effect_alignment_get_type (void) static GType type = 0; if (G_UNLIKELY (type == 0)) { - const GEnumValue values[] = { + 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 } @@ -102,7 +102,7 @@ ev_transition_effect_direction_get_type (void) static GType type = 0; if (G_UNLIKELY (type == 0)) { - const GEnumValue values[] = { + 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 } -- 2.43.5