[gnome-sudoku/arnaudb/wip/gtk4: 32/43] Adapt to AspectFrame API.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-sudoku/arnaudb/wip/gtk4: 32/43] Adapt to AspectFrame API.
- Date: Wed,  5 Aug 2020 17:40:59 +0000 (UTC)
commit df7732aeefa84566ced3404aa7e9465fd7a05c1a
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 ac79461..bd94234 100644
--- a/data/gnome-sudoku.ui
+++ b/data/gnome-sudoku.ui
@@ -206,7 +206,6 @@
                 <property name="name">frame</property>
                 <property name="child">
                   <object class="GtkAspectFrame"> <!-- frame -->
-                    <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 d630399..f680dec 100644
--- a/src/sudoku-view.vala
+++ b/src/sudoku-view.vala
@@ -503,8 +503,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]