fix close button in testtitlebar as well

Same disease as with the previous fix.
This commit is contained in:
Matthias Clasen 2013-07-06 21:53:15 -04:00
parent e5b51050c6
commit 8137b282e9

View File

@ -40,7 +40,7 @@ main (int argc, char *argv[])
g_object_unref (icon);
gtk_container_add (GTK_CONTAINER (button), image);
gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
g_signal_connect (button, "clicked", G_CALLBACK (gtk_window_close), NULL);
g_signal_connect_swapped (button, "clicked", G_CALLBACK (gtk_window_close), window);
gtk_header_bar_pack_end (GTK_HEADER_BAR (header), button);