[gnome-tetravex/arnaudb/wip/gtk4: 40/60] Adapt to Box API.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tetravex/arnaudb/wip/gtk4: 40/60] Adapt to Box API.
- Date: Tue, 4 Aug 2020 14:23:42 +0000 (UTC)
commit 09587e7ab125f7c7bee1c696f16b7cdd54d24493
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Fri Feb 21 03:58:03 2020 +0100
Adapt to Box API.
src/gnome-tetravex.vala | 4 ++--
src/score-dialog.vala | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-tetravex.vala b/src/gnome-tetravex.vala
index a3aa503..9ce271e 100644
--- a/src/gnome-tetravex.vala
+++ b/src/gnome-tetravex.vala
@@ -350,8 +350,8 @@ private class Tetravex : Gtk.Application
Box undo_redo_box = new Box (Orientation.HORIZONTAL, /* spacing */ 0);
undo_redo_box.get_style_context ().add_class ("linked");
- undo_redo_box.pack_start (undo_button);
- undo_redo_box.pack_start (redo_button);
+ undo_redo_box.add (undo_button);
+ undo_redo_box.add (redo_button);
undo_redo_box.show ();
if (can_restore && !restore_on_start)
diff --git a/src/score-dialog.vala b/src/score-dialog.vala
index 2b3b98f..2b153e9 100644
--- a/src/score-dialog.vala
+++ b/src/score-dialog.vala
@@ -61,7 +61,7 @@ private class ScoreDialog : Dialog
scroll.show ();
Box content_area = get_content_area ();
- content_area.pack_start (scroll, true, true, 0);
+ content_area.add (scroll);
score_model = new Gtk.ListStore (3, typeof (string), typeof (string), typeof (int));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]