summaryrefslogtreecommitdiff
path: root/tests/testheaderbar.c
diff options
context:
space:
mode:
authorAlexander Mikhaylenko <alexm@gnome.org>2020-05-01 04:04:08 +0500
committerAlexander Mikhaylenko <alexm@gnome.org>2020-05-01 19:48:05 +0500
commitc2e4e1af734fda7c65ea593a869af9c3561af98e (patch)
tree5f99adaf05b65891efd36f3a8a0ea38c255299ca /tests/testheaderbar.c
parent35d50f88c89816b13d0184ecb13e38036da48bcd (diff)
downloadgtk+-c2e4e1af734fda7c65ea593a869af9c3561af98e.tar.gz
headerbar: Remove user-settable title
Use window title, or custom title widget if it's set. Remove 'title' property. Update demos and tests to set the title on the window instead of headerbar.
Diffstat (limited to 'tests/testheaderbar.c')
-rw-r--r--tests/testheaderbar.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/testheaderbar.c b/tests/testheaderbar.c
index 8c9c05c275..a065b01a23 100644
--- a/tests/testheaderbar.c
+++ b/tests/testheaderbar.c
@@ -95,7 +95,6 @@ change_header (GtkButton *button, gpointer data)
{
header = gtk_header_bar_new ();
gtk_widget_add_css_class (header, "titlebar");
- gtk_header_bar_set_title (GTK_HEADER_BAR (header), "Example header");
widget = gtk_button_new_with_label ("_Close");
gtk_button_set_use_underline (GTK_BUTTON (widget), TRUE);