summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-12-07 22:36:29 -0500
committerMatthias Clasen <mclasen@redhat.com>2017-12-07 22:37:06 -0500
commitfec0dc2b13c4a992d6b2ec6f0b3184a8557f339b (patch)
treef3b02f03e8675a8ef0dc82e45681d7ea3892623e /examples
parent6412d25602956f6acfd64eceac6f3c62f9f7b76f (diff)
downloadgtk+-fec0dc2b13c4a992d6b2ec6f0b3184a8557f339b.tar.gz
Rename GtkHeaderBar::show-close-button
It is about all window buttons, so rename it to ::show-title-buttons. https://bugzilla.gnome.org/show_bug.cgi?id=779862
Diffstat (limited to 'examples')
-rw-r--r--examples/sunny.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sunny.c b/examples/sunny.c
index 4b64c0148b..e57e9edd80 100644
--- a/examples/sunny.c
+++ b/examples/sunny.c
@@ -17,7 +17,7 @@ new_window (GApplication *app,
header = gtk_header_bar_new ();
gtk_widget_show (header);
gtk_header_bar_set_title (GTK_HEADER_BAR (header), "Sunny");
- gtk_header_bar_set_show_close_button (GTK_HEADER_BAR (header), TRUE);
+ gtk_header_bar_set_show_title_buttons (GTK_HEADER_BAR (header), TRUE);
gtk_window_set_titlebar (GTK_WINDOW (window), header);
overlay = gtk_overlay_new ();