summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlexander Mikhaylenko <alexm@gnome.org>2020-05-01 01:27:05 +0500
committerAlexander Mikhaylenko <alexm@gnome.org>2020-05-01 19:48:05 +0500
commit35d50f88c89816b13d0184ecb13e38036da48bcd (patch)
tree65665a89383bf70c92add407b33cf0e5e950d8ab /docs
parentfa0509c473a1f19f57d0fbec75342f167f4d6a17 (diff)
downloadgtk+-35d50f88c89816b13d0184ecb13e38036da48bcd.tar.gz
headerbar: Remove subtitle
Also remove the box containing title and subtitle, as there's only one label now.
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/gtk/gtk4-sections.txt2
-rw-r--r--docs/tools/widgets.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt
index 874bd5179a..007c17cd09 100644
--- a/docs/reference/gtk/gtk4-sections.txt
+++ b/docs/reference/gtk/gtk4-sections.txt
@@ -5581,8 +5581,6 @@ GtkHeaderBar
gtk_header_bar_new
gtk_header_bar_set_title
gtk_header_bar_get_title
-gtk_header_bar_set_subtitle
-gtk_header_bar_get_subtitle
gtk_header_bar_set_custom_title
gtk_header_bar_get_custom_title
gtk_header_bar_pack_start
diff --git a/docs/tools/widgets.c b/docs/tools/widgets.c
index c6f088f47f..e6bae49e47 100644
--- a/docs/tools/widgets.c
+++ b/docs/tools/widgets.c
@@ -1128,7 +1128,6 @@ create_headerbar (void)
gtk_container_add (GTK_CONTAINER (window), view);
bar = gtk_header_bar_new ();
gtk_header_bar_set_title (GTK_HEADER_BAR (bar), "Header Bar");
- gtk_header_bar_set_subtitle (GTK_HEADER_BAR (bar), "(subtitle)");
gtk_window_set_titlebar (GTK_WINDOW (window), bar);
button = gtk_button_new ();
gtk_container_add (GTK_CONTAINER (button), gtk_image_new_from_icon_name ("bookmark-new-symbolic"));