[gnome-chess/arnaudb/wip/gtk4: 13/21] Adapt to InfoBar API.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess/arnaudb/wip/gtk4: 13/21] Adapt to InfoBar API.
- Date: Wed, 8 Apr 2020 18:07:02 +0000 (UTC)
commit f1e4f1f757d57553e00a7eb7419430bec054aff5
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Tue Apr 7 10:23:05 2020 +0200
Adapt to InfoBar API.
src/gnome-chess.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index c3cceca..ff02326 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -137,7 +137,7 @@ Copyright © 2015–2016 Sahil Sareen""";
label.set_wrap (true);
label.show ();
- info_bar.get_content_area ().add (label);
+ info_bar.add (label);
info_bar.set_message_type (MessageType.ERROR);
info_bar.set_show_close_button (true);
info_bar.response.connect (() => info_bar.destroy ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]