mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 04:22:05 +00:00
clutter/text: Don't call clutter_text_set_buffer() on finalize
clutter_text_set_buffer() tries to freeze/thaw notify, which is not allowed during finalize and recent glib versions started warning about this. This call can simply be removed, because the buffer is already set to NULL on dispose, making the call in finalize redundant. Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2566 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2790>
This commit is contained in:
parent
8abdbbdf24
commit
cff631cb39
@ -1788,7 +1788,6 @@ clutter_text_finalize (GObject *gobject)
|
||||
if (priv->preedit_attrs)
|
||||
pango_attr_list_unref (priv->preedit_attrs);
|
||||
|
||||
clutter_text_set_buffer (self, NULL);
|
||||
g_free (priv->font_name);
|
||||
|
||||
g_clear_object (&priv->input_focus);
|
||||
|
Loading…
Reference in New Issue
Block a user