[gnome-sudoku/arnaudb/wip/gtk4: 43/47] Adapt to AspectFrame API.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sudoku/arnaudb/wip/gtk4: 43/47] Adapt to AspectFrame API.
- Date: Wed, 23 Sep 2020 16:36:39 +0000 (UTC)
commit 640a49de704a093570434c97627b8df26825e902
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Fri Apr 17 20:43:58 2020 +0200
Adapt to AspectFrame API.
data/gnome-sudoku.ui | 1 -
src/sudoku-view.vala | 3 +--
2 files changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/data/gnome-sudoku.ui b/data/gnome-sudoku.ui
index 0fe02e9..3d51b8a 100644
--- a/data/gnome-sudoku.ui
+++ b/data/gnome-sudoku.ui
@@ -237,7 +237,6 @@
<child>
<object class="GtkAspectFrame"> <!-- frame -->
<property name="visible">True</property>
- <property name="shadow-type">GTK_SHADOW_NONE</property>
<property name="obey-child">False</property>
<property name="ratio">1.4</property>
<child>
diff --git a/src/sudoku-view.vala b/src/sudoku-view.vala
index 2d9f06c..b87e29e 100644
--- a/src/sudoku-view.vala
+++ b/src/sudoku-view.vala
@@ -533,8 +533,7 @@ public class SudokuView : Widget
BinLayout layout = new BinLayout ();
set_layout_manager (layout);
- frame = new AspectFrame (/* no title */ null, /* xalign */ 0.5f, /* yalign */ 0.5f, /* ratio */
1.0f, /* obey child */ false);
- frame.shadow_type = ShadowType.NONE;
+ frame = new AspectFrame (/* xalign */ 0.5f, /* yalign */ 0.5f, /* ratio */ 1.0f, /* obey child */
false);
frame.insert_after (this, /* insert first */ null);
overlay = new Overlay ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]