Commit 90273fb5 authored by Massimo Valentini's avatar Massimo Valentini

Bug 749406 - Displace segfaults on launch

parent 6d6efbbf
......@@ -483,19 +483,19 @@ gimp_item_combo_box_model_add (GimpIntComboBox *combo_box,
g_object_unref (thumb);
g_free (label);
}
if (gimp_item_is_group (items[i]))
{
gint32 *children;
gint n_children;
children = gimp_item_get_children (items[i], &n_children);
gimp_item_combo_box_model_add (combo_box, store,
image,
n_children, children,
tree_level + 1);
g_free (children);
}
if (gimp_item_is_group (items[i]))
{
gint32 *children;
gint n_children;
children = gimp_item_get_children (items[i], &n_children);
gimp_item_combo_box_model_add (combo_box, store,
image,
n_children, children,
tree_level + 1);
g_free (children);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment