Fix a start/end mixup

The headerbar example in gtk3-demo was showing two start buttons
after the arrow removal.
This commit is contained in:
Matthias Clasen 2014-05-24 00:47:16 -04:00
parent aabc356b80
commit f52dd9fc04

View File

@ -47,7 +47,7 @@ do_headerbar (GtkWidget *do_widget)
gtk_container_add (GTK_CONTAINER (button), gtk_image_new_from_icon_name ("pan-start-symbolic", GTK_ICON_SIZE_BUTTON));
gtk_container_add (GTK_CONTAINER (box), button);
button = gtk_button_new ();
gtk_container_add (GTK_CONTAINER (button), gtk_image_new_from_icon_name ("pan-start-symbolic", GTK_ICON_SIZE_BUTTON));
gtk_container_add (GTK_CONTAINER (button), gtk_image_new_from_icon_name ("pan-end-symbolic", GTK_ICON_SIZE_BUTTON));
gtk_container_add (GTK_CONTAINER (box), button);
gtk_header_bar_pack_start (GTK_HEADER_BAR (header), box);