[libgnome-games-support/andy128k-gtk4: 3/7] Use show_title_buttons.




commit 221a08e58e0c7c1e630b3817d740cc64390ee29f
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 c3fc2fb..bae3af2 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]