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:
Jonas Ådahl 2021-02-04 08:50:49 +01:00
parent 6a0dd2a0fa
commit 9d22e7153c
2 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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))
{