~ubuntu-branches/ubuntu/trusty/gnome-shell/trusty-proposed

« back to all changes in this revision

Viewing changes to src/st-enum-types.c

Tags: upstream-3.3.90
ImportĀ upstreamĀ versionĀ 3.3.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
    }
170
170
  return enum_type_id;
171
171
}
 
172
GType
 
173
st_background_size_get_type(void) {
 
174
  static GType enum_type_id = 0;
 
175
  if (G_UNLIKELY (!enum_type_id))
 
176
    {
 
177
      static const GEnumValue values[] = {
 
178
        { ST_BACKGROUND_SIZE_AUTO, "ST_BACKGROUND_SIZE_AUTO", "auto" },
 
179
        { ST_BACKGROUND_SIZE_CONTAIN, "ST_BACKGROUND_SIZE_CONTAIN", "contain" },
 
180
        { ST_BACKGROUND_SIZE_COVER, "ST_BACKGROUND_SIZE_COVER", "cover" },
 
181
        { ST_BACKGROUND_SIZE_FIXED, "ST_BACKGROUND_SIZE_FIXED", "fixed" },
 
182
        { 0, NULL, NULL }
 
183
      };
 
184
      enum_type_id = g_enum_register_static (g_intern_static_string ("StBackgroundSize"), values);
 
185
    }
 
186
  return enum_type_id;
 
187
}
172
188
/* enumerations from "./st/st-widget.h" */
173
189
#include "./st/st-widget.h"
174
190
GType