diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-12-16 20:35:23 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-12-16 20:35:23 -0500 |
commit | 8ba7c7f64d15d4764f830aa7801c826a6d049735 (patch) | |
tree | 34fbee6a6e6ba65ae392a8f91389ed95642c4c26 /tests/testtitlebar.c | |
parent | dcff5295f744d39c23883de62d1f3c5fb7a2bddf (diff) | |
download | gtk+-8ba7c7f64d15d4764f830aa7801c826a6d049735.tar.gz |
testtitlebar: Add custom content
This will help in tracking down size allocation issues
in GtkHeaderBar.
Diffstat (limited to 'tests/testtitlebar.c')
-rw-r--r-- | tests/testtitlebar.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 (); |