mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
Bug 749406 - Displace segfaults on launch
This commit is contained in:
parent
6d6efbbf8b
commit
90273fb57b
1 changed files with 11 additions and 11 deletions
|
@ -483,19 +483,19 @@ gimp_item_combo_box_model_add (GimpIntComboBox *combo_box,
|
||||||
g_object_unref (thumb);
|
g_object_unref (thumb);
|
||||||
|
|
||||||
g_free (label);
|
g_free (label);
|
||||||
|
}
|
||||||
|
|
||||||
if (gimp_item_is_group (items[i]))
|
if (gimp_item_is_group (items[i]))
|
||||||
{
|
{
|
||||||
gint32 *children;
|
gint32 *children;
|
||||||
gint n_children;
|
gint n_children;
|
||||||
|
|
||||||
children = gimp_item_get_children (items[i], &n_children);
|
children = gimp_item_get_children (items[i], &n_children);
|
||||||
gimp_item_combo_box_model_add (combo_box, store,
|
gimp_item_combo_box_model_add (combo_box, store,
|
||||||
image,
|
image,
|
||||||
n_children, children,
|
n_children, children,
|
||||||
tree_level + 1);
|
tree_level + 1);
|
||||||
g_free (children);
|
g_free (children);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue