diff options
author | Alexander Mikhaylenko <alexm@gnome.org> | 2020-05-01 04:04:08 +0500 |
---|---|---|
committer | Alexander Mikhaylenko <alexm@gnome.org> | 2020-05-01 19:48:05 +0500 |
commit | c2e4e1af734fda7c65ea593a869af9c3561af98e (patch) | |
tree | 5f99adaf05b65891efd36f3a8a0ea38c255299ca /examples | |
parent | 35d50f88c89816b13d0184ecb13e38036da48bcd (diff) | |
download | gtk+-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 'examples')
-rw-r--r-- | examples/sunny.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/sunny.c b/examples/sunny.c index 3e3fc6a672..7aa4a9f89e 100644 --- a/examples/sunny.c +++ b/examples/sunny.c @@ -15,8 +15,6 @@ new_window (GApplication *app, gtk_window_set_icon_name (GTK_WINDOW (window), "sunny"); header = gtk_header_bar_new (); - gtk_widget_show (header); - gtk_header_bar_set_title (GTK_HEADER_BAR (header), "Sunny"); gtk_header_bar_set_show_title_buttons (GTK_HEADER_BAR (header), TRUE); gtk_window_set_titlebar (GTK_WINDOW (window), header); |