[gtk/wip/exalm/test: 28/37] tests: Fix testoverlay
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/exalm/test: 28/37] tests: Fix testoverlay
- Date: Mon, 11 May 2020 15:19:24 +0000 (UTC)
commit 4361a884bfb7132942da54c95566e7bac1844656
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon May 11 19:13:04 2020 +0500
tests: Fix testoverlay
Stop using child properties and margin property.
tests/testoverlay.c | 29 ++++++++++++++++-------------
1 file changed, 16 insertions(+), 13 deletions(-)
---
diff --git a/tests/testoverlay.c b/tests/testoverlay.c
index 565adf549c..d7187be70a 100644
--- a/tests/testoverlay.c
+++ b/tests/testoverlay.c
@@ -272,7 +272,10 @@ static const gchar *buffer =
" <property name='label'>Witty remark goes here</property>"
" <property name='halign'>end</property>"
" <property name='valign'>end</property>"
-" <property name='margin'>4</property>"
+" <property name='margin-top'>4</property>"
+" <property name='margin-bottom'>4</property>"
+" <property name='margin-start'>4</property>"
+" <property name='margin-end'>4</property>"
" </object>"
" </child>"
" <child>"
@@ -280,20 +283,20 @@ static const gchar *buffer =
" <child>"
" <object class='GtkLabel' id='left'>"
" <property name='label'>Left</property>"
+" <layout>"
+" <property name='left-attach'>0</property>"
+" <property name='top-attach'>0</property>"
+" </layout>"
" </object>"
-" <packing>"
-" <property name='left_attach'>0</property>"
-" <property name='top_attach'>0</property>"
-" </packing>"
" </child>"
" <child>"
" <object class='GtkLabel' id='right'>"
" <property name='label'>Right</property>"
+" <layout>"
+" <property name='left-attach'>2</property>"
+" <property name='top-attach'>0</property>"
+" </layout>"
" </object>"
-" <packing>"
-" <property name='left_attach'>2</property>"
-" <property name='top_attach'>0</property>"
-" </packing>"
" </child>"
" <child>"
" <object class='GtkTextView' id='text'>"
@@ -301,11 +304,11 @@ static const gchar *buffer =
" <property name='height-request'>200</property>"
" <property name='hexpand'>True</property>"
" <property name='vexpand'>True</property>"
+" <layout>"
+" <property name='left-attach'>1</property>"
+" <property name='top-attach'>0</property>"
+" </layout>"
" </object>"
-" <packing>"
-" <property name='left_attach'>1</property>"
-" <property name='top_attach'>0</property>"
-" </packing>"
" </child>"
" </object>"
" </child>"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]