* clutter/clutter-color.c:
* clutter/clutter-event.c:
* clutter/clutter-stage.c: Intern more strings using the I_() macro
* clutter/clutter-enum-types.c.in: Call g_intern_static_string()
in the enum types template
2007-12-24 Emmanuele Bassi <ebassi@openedhand.com>
2007-12-24 Emmanuele Bassi <ebassi@openedhand.com>
+ * clutter/clutter-color.c:
+ * clutter/clutter-event.c:
+ * clutter/clutter-stage.c: Intern more strings using the I_() macro
+
+ * clutter/clutter-enum-types.c.in: Call g_intern_static_string()
+ in the enum types template
+
+2007-12-24 Emmanuele Bassi <ebassi@openedhand.com>
+
* clutter.symbols: Add clutter_actor_set_clipu() and
clutter_actor_get_clipu()
* clutter.symbols: Add clutter_actor_set_clipu() and
clutter_actor_get_clipu()
static GType our_type = 0;
if (!our_type)
static GType our_type = 0;
if (!our_type)
- our_type = g_boxed_type_register_static ("ClutterColor",
+ our_type = g_boxed_type_register_static (I_("ClutterColor"),
(GBoxedCopyFunc) clutter_color_copy,
(GBoxedFreeFunc) clutter_color_free);
return our_type;
(GBoxedCopyFunc) clutter_color_copy,
(GBoxedFreeFunc) clutter_color_free);
return our_type;
/*** BEGIN value-header ***/
GType
@enum_name@_get_type(void) {
/*** BEGIN value-header ***/
GType
@enum_name@_get_type(void) {
- static GType enum_type_id = 0;
- if (G_UNLIKELY (!enum_type_id))
+ static GType etype = 0;
+ if (G_UNLIKELY (!etype))
{
static const G@Type@Value values[] = {
/*** END value-header ***/
{
static const G@Type@Value values[] = {
/*** END value-header ***/
/*** BEGIN value-tail ***/
{ 0, NULL, NULL }
};
/*** BEGIN value-tail ***/
{ 0, NULL, NULL }
};
- enum_type_id = g_@type@_register_static("@EnumName@", values);
+ etype = g_@type@_register_static (g_intern_static_string ("@EnumName@"), values);
static GType our_type = 0;
if (!our_type)
static GType our_type = 0;
if (!our_type)
- our_type = g_boxed_type_register_static ("ClutterEvent",
+ our_type = g_boxed_type_register_static (I_("ClutterEvent"),
(GBoxedCopyFunc) clutter_event_copy,
(GBoxedFreeFunc) clutter_event_free);
return our_type;
(GBoxedCopyFunc) clutter_event_copy,
(GBoxedFreeFunc) clutter_event_free);
return our_type;
if (!our_type)
our_type =
if (!our_type)
our_type =
- g_boxed_type_register_static ("ClutterPerspective",
+ g_boxed_type_register_static (I_("ClutterPerspective"),
(GBoxedCopyFunc) clutter_perspective_copy,
(GBoxedFreeFunc) clutter_perspective_free);
return our_type;
(GBoxedCopyFunc) clutter_perspective_copy,
(GBoxedFreeFunc) clutter_perspective_free);
return our_type;
if (G_UNLIKELY (our_type == 0))
our_type =
if (G_UNLIKELY (our_type == 0))
our_type =
- g_boxed_type_register_static ("ClutterFog",
+ g_boxed_type_register_static (I_("ClutterFog"),
(GBoxedCopyFunc) clutter_fog_copy,
(GBoxedFreeFunc) clutter_fog_free);
(GBoxedCopyFunc) clutter_fog_copy,
(GBoxedFreeFunc) clutter_fog_free);