summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/testadjustsize.c4
-rw-r--r--tests/testgtk.c8
-rw-r--r--tests/testoverlaystyleclass.c2
-rw-r--r--tests/testrevealer.c8
-rw-r--r--tests/visuals/osd-toolbars.ui8
5 files changed, 15 insertions, 15 deletions
diff --git a/tests/testadjustsize.c b/tests/testadjustsize.c
index d3dccda72c..8b724410ad 100644
--- a/tests/testadjustsize.c
+++ b/tests/testadjustsize.c
@@ -354,8 +354,8 @@ open_margin_window (void)
GtkWidget *box;
int i;
const char * margins[] = {
- "margin-left",
- "margin-right",
+ "margin-start",
+ "margin-end",
"margin-top",
"margin-bottom",
"margin"
diff --git a/tests/testgtk.c b/tests/testgtk.c
index ddc2ca0ab2..11fcf1726a 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -6020,8 +6020,8 @@ create_pages (GtkNotebook *notebook, gint start, gint end)
g_object_set_data (G_OBJECT (child), "tab_pixmap", pixwid);
gtk_box_pack_start (GTK_BOX (label_box), pixwid, FALSE, TRUE, 0);
- gtk_widget_set_margin_left (pixwid, 3);
- gtk_widget_set_margin_right (pixwid, 3);
+ gtk_widget_set_margin_start (pixwid, 3);
+ gtk_widget_set_margin_end (pixwid, 3);
gtk_widget_set_margin_bottom (pixwid, 1);
gtk_widget_set_margin_top (pixwid, 1);
label = gtk_label_new_with_mnemonic (accel_buffer);
@@ -6034,8 +6034,8 @@ create_pages (GtkNotebook *notebook, gint start, gint end)
g_object_set_data (G_OBJECT (child), "menu_pixmap", pixwid);
gtk_box_pack_start (GTK_BOX (menu_box), pixwid, FALSE, TRUE, 0);
- gtk_widget_set_margin_left (pixwid, 3);
- gtk_widget_set_margin_right (pixwid, 3);
+ gtk_widget_set_margin_start (pixwid, 3);
+ gtk_widget_set_margin_end (pixwid, 3);
gtk_widget_set_margin_bottom (pixwid, 1);
gtk_widget_set_margin_top (pixwid, 1);
label = gtk_label_new (buffer);
diff --git a/tests/testoverlaystyleclass.c b/tests/testoverlaystyleclass.c
index 911050e986..161fd6c235 100644
--- a/tests/testoverlaystyleclass.c
+++ b/tests/testoverlaystyleclass.c
@@ -116,7 +116,7 @@ main (int argc, char *argv[])
str = g_strdup_printf ("%p", child);
gtk_label_set_text (GTK_LABEL (child), str);
g_free (str);
- gtk_widget_set_margin_left (child, 55);
+ gtk_widget_set_margin_start (child, 55);
gtk_widget_set_margin_top (child, 4);
g_print ("Left/Top margined child: %p\n", child);
gtk_widget_set_halign (child, GTK_ALIGN_START);
diff --git a/tests/testrevealer.c b/tests/testrevealer.c
index 3eab9cd0f3..2de4c576b9 100644
--- a/tests/testrevealer.c
+++ b/tests/testrevealer.c
@@ -17,15 +17,15 @@ main (gint argc,
widget = gtk_label_new ("Some filler text to avoid\nresizing of the window");
gtk_widget_set_margin_top (widget, 10);
gtk_widget_set_margin_bottom (widget, 10);
- gtk_widget_set_margin_left (widget, 10);
- gtk_widget_set_margin_right (widget, 10);
+ gtk_widget_set_margin_start (widget, 10);
+ gtk_widget_set_margin_end (widget, 10);
gtk_grid_attach (GTK_GRID (box), widget, 1, 1, 1, 1);
widget = gtk_label_new ("Some filler text to avoid\nresizing of the window");
gtk_widget_set_margin_top (widget, 10);
gtk_widget_set_margin_bottom (widget, 10);
- gtk_widget_set_margin_left (widget, 10);
- gtk_widget_set_margin_right (widget, 10);
+ gtk_widget_set_margin_start (widget, 10);
+ gtk_widget_set_margin_end (widget, 10);
gtk_grid_attach (GTK_GRID (box), widget, 3, 3, 1, 1);
widget = gtk_toggle_button_new_with_label ("None");
diff --git a/tests/visuals/osd-toolbars.ui b/tests/visuals/osd-toolbars.ui
index ec4d8ea044..3ac7df6159 100644
--- a/tests/visuals/osd-toolbars.ui
+++ b/tests/visuals/osd-toolbars.ui
@@ -104,8 +104,8 @@
<object class="GtkLabel" id="status_label">
<property name="visible">True</property>
<property name="label">OSD Toolbar</property>
- <property name="margin_left">10</property>
- <property name="margin_right">10</property>
+ <property name="margin_start">10</property>
+ <property name="margin_end">10</property>
</object>
</child>
</object>
@@ -204,8 +204,8 @@
<object class="GtkLabel" id="tb5_label">
<property name="visible">True</property>
<property name="label">Another kind of OSD toolbar</property>
- <property name="margin_left">10</property>
- <property name="margin_right">10</property>
+ <property name="margin_start">10</property>
+ <property name="margin_end">10</property>
</object>
</child>
</object>