1
1
mirror of https://gitlab.gnome.org/GNOME/gimp.git synced 2025-10-06 01:12:40 +02:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Alx Sa
3c4140346a testing pippin's fix 2025-03-19 15:08:00 +00:00
Alx Sa
d6d7f08a49 widgets: Attempt to fix brush popup crash 2025-03-18 22:48:53 +00:00

View File

@@ -221,6 +221,7 @@ gimp_editor_init (GimpEditor *editor)
"yalign", 0.5,
"ellipsize", PANGO_ELLIPSIZE_END,
NULL);
g_object_ref (editor->priv->name_label);
gimp_label_set_attributes (GTK_LABEL (editor->priv->name_label),
PANGO_ATTR_STYLE, PANGO_STYLE_ITALIC,
-1);
@@ -270,6 +271,8 @@ gimp_editor_dispose (GObject *object)
g_clear_pointer (&editor->priv->menu_identifier, g_free);
g_clear_pointer (&editor->priv->ui_path, g_free);
g_clear_weak_pointer (&editor->priv->ui_manager);
if (editor->priv->name_label)
g_object_unref (editor->priv->name_label);
G_OBJECT_CLASS (parent_class)->dispose (object);
}