[gnome-mahjongg/arnaudb/wip/gtk4: 26/29] Adapt to HeaderBar API.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-mahjongg/arnaudb/wip/gtk4: 26/29] Adapt to HeaderBar API.
- Date: Fri, 9 Oct 2020 15:35:06 +0000 (UTC)
commit 54d4ff1a28dd8e5aa7ca6b2038026d1a7991b04e
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Thu Aug 6 17:19:05 2020 +0200
Adapt to HeaderBar API.
src/gnome-mahjongg.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gnome-mahjongg.vala b/src/gnome-mahjongg.vala
index ae1856e..f791111 100644
--- a/src/gnome-mahjongg.vala
+++ b/src/gnome-mahjongg.vala
@@ -169,7 +169,7 @@ public class Mahjongg : Gtk.Application
menu_button.set_icon_name ("open-menu-symbolic");
var header_bar = new HeaderBar ();
- header_bar.set_custom_title (title_box);
+ header_bar.set_title_widget (title_box);
header_bar.set_show_title_buttons (true);
header_bar.pack_start (hbox);
header_bar.pack_end (menu_button);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]