clutter/actor: Use g_signal_connect for connecting to pango context
In commit ba8f5a1178
it might have been overseen
to switch to g_signal_connect from g_signal_connect_object, so do that now to
make things a bit more clear.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3543>
This commit is contained in:
parent
f99c6badb9
commit
265f6ef64e
@ -12958,11 +12958,11 @@ clutter_actor_get_pango_context (ClutterActor *self)
|
||||
priv->pango_context = clutter_actor_create_pango_context (self);
|
||||
|
||||
priv->resolution_changed_id =
|
||||
g_signal_connect_object (backend, "resolution-changed",
|
||||
G_CALLBACK (update_pango_context), priv->pango_context, 0);
|
||||
g_signal_connect (backend, "resolution-changed",
|
||||
G_CALLBACK (update_pango_context), priv->pango_context);
|
||||
priv->font_changed_id =
|
||||
g_signal_connect_object (backend, "font-changed",
|
||||
G_CALLBACK (update_pango_context), priv->pango_context, 0);
|
||||
g_signal_connect (backend, "font-changed",
|
||||
G_CALLBACK (update_pango_context), priv->pango_context);
|
||||
}
|
||||
else
|
||||
update_pango_context (backend, priv->pango_context);
|
||||
|
Loading…
Reference in New Issue
Block a user