[libgnome-games-support/arnaudb/wip/gtk4: 6/12] Use show_title_buttons.



commit cc11983572742764ccf93319074234285ebb8e12
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]