mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
clutter/actor: Sneakily remove the g from the debug names gchar
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1700>
This commit is contained in:
parent
6a0dd2a0fa
commit
9d22e7153c
@ -238,7 +238,7 @@ gboolean _clutter_actor_set_default_paint_volume
|
||||
GType check_gtype,
|
||||
ClutterPaintVolume *volume);
|
||||
|
||||
const gchar * _clutter_actor_get_debug_name (ClutterActor *self);
|
||||
const char * _clutter_actor_get_debug_name (ClutterActor *self);
|
||||
|
||||
void _clutter_actor_push_clone_paint (void);
|
||||
void _clutter_actor_pop_clone_paint (void);
|
||||
|
@ -778,7 +778,7 @@ struct _ClutterActorPrivate
|
||||
ClutterColor bg_color;
|
||||
|
||||
/* a string used for debugging messages */
|
||||
gchar *debug_name;
|
||||
char *debug_name;
|
||||
|
||||
/* a set of clones of the actor */
|
||||
GHashTable *clones;
|
||||
@ -1108,11 +1108,11 @@ G_DEFINE_TYPE_WITH_CODE (ClutterActor,
|
||||
*
|
||||
* Return value: a string with a printable name
|
||||
*/
|
||||
const gchar *
|
||||
const char *
|
||||
_clutter_actor_get_debug_name (ClutterActor *actor)
|
||||
{
|
||||
ClutterActorPrivate *priv = actor->priv;
|
||||
const gchar *retval;
|
||||
const char *retval;
|
||||
|
||||
if (G_UNLIKELY (priv->debug_name == NULL))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user