+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):
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" },
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 }
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 }