From 8ba7c7f64d15d4764f830aa7801c826a6d049735 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 16 Dec 2013 20:35:23 -0500 Subject: testtitlebar: Add custom content This will help in tracking down size allocation issues in GtkHeaderBar. --- tests/testtitlebar.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/testtitlebar.c') diff --git a/tests/testtitlebar.c b/tests/testtitlebar.c index 1d59bbafc5..f5d032d74c 100644 --- a/tests/testtitlebar.c +++ b/tests/testtitlebar.c @@ -54,6 +54,8 @@ activate (GApplication *gapp) gtk_application_set_app_menu (app, menu); header = gtk_header_bar_new (); + gtk_header_bar_pack_start (GTK_HEADER_BAR (header), gtk_button_new_with_label ("Start")); + gtk_header_bar_pack_end (GTK_HEADER_BAR (header), gtk_button_new_with_label ("End")); gtk_window_set_titlebar (GTK_WINDOW (window), header); provider = gtk_css_provider_new (); -- cgit v1.2.1