Commit 89bf07f6 authored by Juan Pablo Ugarte's avatar Juan Pablo Ugarte

GladeGtkGrid: fix tests

Fix glade_gtk_grid_add_child() return after adding child to avoid
adding it more than once.
parent cadacf6b
......@@ -306,12 +306,12 @@ glade_gtk_grid_add_child (GladeWidgetAdaptor *adaptor,
{
gtk_container_remove (GTK_CONTAINER (grid), child_widget);
gtk_grid_attach (grid, GTK_WIDGET (child), x, y, 1, 1);
break;
return;
}
}
}
else
gtk_container_add (GTK_CONTAINER (object), GTK_WIDGET (child));
gtk_container_add (GTK_CONTAINER (object), GTK_WIDGET (child));
glade_gtk_grid_refresh_placeholders (GTK_GRID (object), FALSE);
}
......
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