mirror of
https://github.com/brl/mutter.git
synced 2025-05-16 20:14:55 +00:00
2007-07-04 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-actor.[ch]: Use the right get_type() function name for ClutterVertex, and add the CLUTTER_TYPE_VERTEX macro.
This commit is contained in:
parent
52a3eb0263
commit
11775a16f0
@ -1,3 +1,8 @@
|
||||
2007-07-04 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
* clutter/clutter-actor.[ch]: Use the right get_type() function
|
||||
name for ClutterVertex, and add the CLUTTER_TYPE_VERTEX macro.
|
||||
|
||||
2007-07-03 Ross Burton <ross@openedhand.com>
|
||||
|
||||
* configure.ac:
|
||||
|
@ -2535,8 +2535,7 @@ clutter_geometry_get_type (void)
|
||||
static GType our_type = 0;
|
||||
|
||||
if (our_type == 0)
|
||||
our_type = g_boxed_type_register_static (
|
||||
g_intern_static_string ("ClutterGeometry"),
|
||||
our_type = g_boxed_type_register_static (g_intern_static_string ("ClutterGeometry"),
|
||||
(GBoxedCopyFunc) clutter_geometry_copy,
|
||||
(GBoxedFreeFunc) g_free);
|
||||
|
||||
@ -2563,8 +2562,7 @@ clutter_vertex_get_type (void)
|
||||
static GType our_type = 0;
|
||||
|
||||
if (our_type == 0)
|
||||
our_type = g_boxed_type_register_static (
|
||||
g_intern_static_string ("ClutterVertex"),
|
||||
our_type = g_boxed_type_register_static (g_intern_static_string ("ClutterVertex"),
|
||||
(GBoxedCopyFunc) clutter_vertex_copy,
|
||||
(GBoxedFreeFunc) g_free);
|
||||
|
||||
@ -2590,8 +2588,7 @@ clutter_actor_box_get_type (void)
|
||||
static GType our_type = 0;
|
||||
|
||||
if (our_type == 0)
|
||||
our_type = g_boxed_type_register_static (
|
||||
g_intern_static_string ("ClutterActorBox"),
|
||||
our_type = g_boxed_type_register_static (g_intern_static_string ("ClutterActorBox"),
|
||||
(GBoxedCopyFunc) clutter_actor_box_copy,
|
||||
(GBoxedFreeFunc) g_free);
|
||||
return our_type;
|
||||
|
@ -37,8 +37,9 @@ G_BEGIN_DECLS
|
||||
|
||||
#define CLUTTER_TYPE_GEOMETRY (clutter_geometry_get_type ())
|
||||
#define CLUTTER_TYPE_ACTOR_BOX (clutter_actor_box_get_type ())
|
||||
#define CLUTTER_TYPE_VERTEX (clutter_vertex_get_type ())
|
||||
|
||||
#define CLUTTER_TYPE_ACTOR clutter_actor_get_type()
|
||||
#define CLUTTER_TYPE_ACTOR (clutter_actor_get_type ())
|
||||
|
||||
#define CLUTTER_ACTOR(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST ((obj), CLUTTER_TYPE_ACTOR, ClutterActor))
|
||||
@ -154,7 +155,7 @@ struct _ClutterVertex
|
||||
ClutterUnit z;
|
||||
};
|
||||
|
||||
GType clutter_vertices_get_type (void) G_GNUC_CONST;
|
||||
GType clutter_vertex_get_type (void) G_GNUC_CONST;
|
||||
|
||||
/**
|
||||
* ClutterActor:
|
||||
|
Loading…
x
Reference in New Issue
Block a user