mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
Use G_DEFINE_BOXED_TYPE for all boxed types
We actually need a couple more macros for registering GValue transformation functions. Those should be added to upstream GLib.
This commit is contained in:
@ -1989,19 +1989,9 @@ clutter_animator_property_set_interpolation (ClutterAnimator *animator,
|
||||
}
|
||||
}
|
||||
|
||||
GType
|
||||
clutter_animator_key_get_type (void)
|
||||
{
|
||||
static GType our_type = 0;
|
||||
|
||||
if (!our_type)
|
||||
our_type = g_boxed_type_register_static (I_("ClutterAnimatorKey"),
|
||||
clutter_animator_key_copy,
|
||||
clutter_animator_key_free);
|
||||
|
||||
return our_type;
|
||||
}
|
||||
|
||||
G_DEFINE_BOXED_TYPE (ClutterAnimatorKey, clutter_animator_key,
|
||||
clutter_animator_key_copy,
|
||||
clutter_animator_key_free);
|
||||
|
||||
/**
|
||||
* clutter_animator_key_get_object:
|
||||
|
Reference in New Issue
Block a user