[libgnome-games-support/arnaudb/wip/gtk4: 3/4] Use show_title_buttons.



commit 8e265c1146b243c62bde38a4621ebac3c2c24788
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Thu Mar 5 18:20:40 2020 +0100

    Use show_title_buttons.

 games/scores/dialog.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/games/scores/dialog.vala b/games/scores/dialog.vala
index f87aded..5cdd784 100644
--- a/games/scores/dialog.vala
+++ b/games/scores/dialog.vala
@@ -51,7 +51,7 @@ private class Dialog : Gtk.Dialog
 
         headerbar = (Gtk.HeaderBar) this.get_header_bar ();
 
-        headerbar.show_close_button = (new_high_score == null);
+        headerbar.show_title_buttons = (new_high_score == null);
 
         if (new_high_score != null)
         /* Appears at the top of the dialog, as the heading of the dialog */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]