mirror of
https://github.com/brl/mutter.git
synced 2025-02-02 06:42:28 +00:00
Add missing basic constructor
ClutterText should have an empty constructor, mostly for bindings to use, that just proxies call to g_object_new() without setting any property.
This commit is contained in:
parent
7af992974e
commit
74257dfa27
@ -1407,6 +1407,12 @@ clutter_text_init (ClutterText *self)
|
|||||||
init_mappings (self); /* FIXME: free */
|
init_mappings (self); /* FIXME: free */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ClutterActor *
|
||||||
|
clutter_text_new (void)
|
||||||
|
{
|
||||||
|
return g_object_new (CLUTTER_TYPE_TEXT, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
ClutterActor *
|
ClutterActor *
|
||||||
clutter_text_new_full (const gchar *font_name,
|
clutter_text_new_full (const gchar *font_name,
|
||||||
const gchar *text,
|
const gchar *text,
|
||||||
|
@ -78,6 +78,7 @@ struct _ClutterTextClass
|
|||||||
|
|
||||||
GType clutter_text_get_type (void) G_GNUC_CONST;
|
GType clutter_text_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
ClutterActor * clutter_text_new (void);
|
||||||
ClutterActor * clutter_text_new_full (const gchar *font_name,
|
ClutterActor * clutter_text_new_full (const gchar *font_name,
|
||||||
const gchar *text,
|
const gchar *text,
|
||||||
const ClutterColor *color);
|
const ClutterColor *color);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user