Commit 5ae01f82 authored by Benjamin Otte's avatar Benjamin Otte

tests: Remove handleboxes from testmerge example

parent a36b05fe
......@@ -223,20 +223,7 @@ add_widget (GtkUIManager *merge,
GtkWidget *widget,
GtkBox *box)
{
GtkWidget *handle_box;
if (GTK_IS_TOOLBAR (widget))
{
handle_box = gtk_handle_box_new ();
gtk_widget_show (handle_box);
gtk_container_add (GTK_CONTAINER (handle_box), widget);
gtk_box_pack_start (box, handle_box, FALSE, FALSE, 0);
g_signal_connect_swapped (widget, "destroy",
G_CALLBACK (gtk_widget_destroy), handle_box);
}
else
gtk_box_pack_start (box, widget, FALSE, FALSE, 0);
gtk_box_pack_start (box, widget, FALSE, FALSE, 0);
gtk_widget_show (widget);
}
......
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