summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorYosef Or Boczko <yoseforb@gmail.com>2013-11-15 00:31:17 +0200
committerBenjamin Otte <otte@redhat.com>2013-11-15 02:54:35 +0100
commit719dd636a9da679ea08a9644a8cccfe7d6f145d7 (patch)
treec2f286045adef34ab40824375a70b44e33e8dcba /demos
parent9921bec63a3e67e2c2e38ca734590909a9f734b5 (diff)
downloadgtk+-719dd636a9da679ea08a9644a8cccfe7d6f145d7.tar.gz
Replace all margin-left and margin-right with margin-start and margin-end
https://bugzilla.gnome.org/show_bug.cgi?id=710238
Diffstat (limited to 'demos')
-rw-r--r--demos/gtk-demo/listbox.ui4
-rw-r--r--demos/gtk-demo/overlay.c32
-rw-r--r--demos/widget-factory/widget-factory.ui4
3 files changed, 20 insertions, 20 deletions
diff --git a/demos/gtk-demo/listbox.ui b/demos/gtk-demo/listbox.ui
index 1d426014d3..b9423f2366 100644
--- a/demos/gtk-demo/listbox.ui
+++ b/demos/gtk-demo/listbox.ui
@@ -38,8 +38,8 @@
<property name="valign">start</property>
<property name="margin_top">8</property>
<property name="margin_bottom">8</property>
- <property name="margin_left">8</property>
- <property name="margin_right">8</property>
+ <property name="margin_start">8</property>
+ <property name="margin_end">8</property>
<property name="icon-name">image-missing</property>
</object>
<packing>
diff --git a/demos/gtk-demo/overlay.c b/demos/gtk-demo/overlay.c
index b291ac1faf..60f419f67f 100644
--- a/demos/gtk-demo/overlay.c
+++ b/demos/gtk-demo/overlay.c
@@ -51,8 +51,8 @@ do_overlay (GtkWidget *do_widget)
gtk_widget_set_halign (label, GTK_ALIGN_END);
gtk_widget_set_valign (label, GTK_ALIGN_END);
gtk_overlay_add_overlay (GTK_OVERLAY (overlay), label);
- gtk_widget_set_margin_left (label, 20);
- gtk_widget_set_margin_right (label, 20);
+ gtk_widget_set_margin_start (label, 20);
+ gtk_widget_set_margin_end (label, 20);
gtk_widget_set_margin_top (label, 5);
gtk_widget_set_margin_bottom (label, 5);
@@ -65,8 +65,8 @@ do_overlay (GtkWidget *do_widget)
gtk_widget_set_halign (label, GTK_ALIGN_START);
gtk_widget_set_valign (label, GTK_ALIGN_END);
gtk_overlay_add_overlay (GTK_OVERLAY (overlay), label);
- gtk_widget_set_margin_left (label, 20);
- gtk_widget_set_margin_right (label, 20);
+ gtk_widget_set_margin_start (label, 20);
+ gtk_widget_set_margin_end (label, 20);
gtk_widget_set_margin_top (label, 5);
gtk_widget_set_margin_bottom (label, 5);
@@ -79,8 +79,8 @@ do_overlay (GtkWidget *do_widget)
gtk_widget_set_halign (label, GTK_ALIGN_END);
gtk_widget_set_valign (label, GTK_ALIGN_START);
gtk_overlay_add_overlay (GTK_OVERLAY (overlay), label);
- gtk_widget_set_margin_left (label, 20);
- gtk_widget_set_margin_right (label, 20);
+ gtk_widget_set_margin_start (label, 20);
+ gtk_widget_set_margin_end (label, 20);
gtk_widget_set_margin_top (label, 5);
gtk_widget_set_margin_bottom (label, 5);
@@ -93,8 +93,8 @@ do_overlay (GtkWidget *do_widget)
gtk_widget_set_halign (label, GTK_ALIGN_START);
gtk_widget_set_valign (label, GTK_ALIGN_START);
gtk_overlay_add_overlay (GTK_OVERLAY (overlay), label);
- gtk_widget_set_margin_left (label, 20);
- gtk_widget_set_margin_right (label, 20);
+ gtk_widget_set_margin_start (label, 20);
+ gtk_widget_set_margin_end (label, 20);
gtk_widget_set_margin_top (label, 5);
gtk_widget_set_margin_bottom (label, 5);
@@ -107,8 +107,8 @@ do_overlay (GtkWidget *do_widget)
gtk_widget_set_halign (label, GTK_ALIGN_END);
gtk_widget_set_valign (label, GTK_ALIGN_CENTER);
gtk_overlay_add_overlay (GTK_OVERLAY (overlay), label);
- gtk_widget_set_margin_left (label, 20);
- gtk_widget_set_margin_right (label, 20);
+ gtk_widget_set_margin_start (label, 20);
+ gtk_widget_set_margin_end (label, 20);
gtk_widget_set_margin_top (label, 5);
gtk_widget_set_margin_bottom (label, 5);
@@ -121,8 +121,8 @@ do_overlay (GtkWidget *do_widget)
gtk_widget_set_halign (label, GTK_ALIGN_START);
gtk_widget_set_valign (label, GTK_ALIGN_CENTER);
gtk_overlay_add_overlay (GTK_OVERLAY (overlay), label);
- gtk_widget_set_margin_left (label, 20);
- gtk_widget_set_margin_right (label, 20);
+ gtk_widget_set_margin_start (label, 20);
+ gtk_widget_set_margin_end (label, 20);
gtk_widget_set_margin_top (label, 5);
gtk_widget_set_margin_bottom (label, 5);
@@ -135,8 +135,8 @@ do_overlay (GtkWidget *do_widget)
gtk_widget_set_halign (label, GTK_ALIGN_CENTER);
gtk_widget_set_valign (label, GTK_ALIGN_START);
gtk_overlay_add_overlay (GTK_OVERLAY (overlay), label);
- gtk_widget_set_margin_left (label, 20);
- gtk_widget_set_margin_right (label, 20);
+ gtk_widget_set_margin_start (label, 20);
+ gtk_widget_set_margin_end (label, 20);
gtk_widget_set_margin_top (label, 5);
gtk_widget_set_margin_bottom (label, 5);
@@ -149,8 +149,8 @@ do_overlay (GtkWidget *do_widget)
gtk_widget_set_halign (label, GTK_ALIGN_CENTER);
gtk_widget_set_valign (label, GTK_ALIGN_END);
gtk_overlay_add_overlay (GTK_OVERLAY (overlay), label);
- gtk_widget_set_margin_left (label, 10);
- gtk_widget_set_margin_right (label, 10);
+ gtk_widget_set_margin_start (label, 10);
+ gtk_widget_set_margin_end (label, 10);
gtk_widget_set_margin_top (label, 5);
gtk_widget_set_margin_bottom (label, 5);
diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui
index 8512505839..b043d6bf4e 100644
--- a/demos/widget-factory/widget-factory.ui
+++ b/demos/widget-factory/widget-factory.ui
@@ -1756,8 +1756,8 @@ Suspendisse feugiat quam quis dolor accumsan cursus. </property>
<property name="visible">True</property>
<property name="margin-top">10</property>
<property name="margin-bottom">10</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>
<property name="spacing">20</property>
<child>
<object class="GtkLabel" id="page2note">