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



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