]> www.fi.muni.cz Git - evince.git/commitdiff
Fixes bug #542924. Makes enums static to fix Solaris build.
authorDarren Kenny <darren.kenny@sun.com>
Mon, 14 Jul 2008 21:44:43 +0000 (21:44 +0000)
committerNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Mon, 14 Jul 2008 21:44:43 +0000 (21:44 +0000)
2008-07-15   Darren Kenny  <darren.kenny@sun.com>

* 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
libdocument/ev-transition-effect.c

index 25c545cde81e33ca0cc9c7d3c71ea3a0f33206e9..782e3dc175cf0ee71e8e757d8429017123bd2332 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-07-15   Darren Kenny  <darren.kenny@sun.com>
+
+       * 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  <carlosgc@gnome.org>
 
        * shell/ev-view.c: (ev_view_key_press_event):
index 7c73ca793fd05f4caf8811847acc6d5ff3a0a052..1986b77446fdcd740c17b431c5920080bd27771f 100644 (file)
@@ -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 }