summaryrefslogtreecommitdiff
path: root/src/nautilus-floating-bar.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2014-07-29 10:59:00 +0200
committerCosimo Cecchi <cosimoc@gnome.org>2014-07-29 10:59:00 +0200
commitae232f2b49ecfcd3103b4511ebc0481deea1a463 (patch)
tree04134d07c2ab05963c283f0d2d8377b8dbea5e95 /src/nautilus-floating-bar.c
parentaa9cca26ff139e5f9eeffc81a0c3713bff0a0efc (diff)
downloadnautilus-ae232f2b49ecfcd3103b4511ebc0481deea1a463.tar.gz
floating-bar: use margin-start/end instead of deprecated left/right
Diffstat (limited to 'src/nautilus-floating-bar.c')
-rw-r--r--src/nautilus-floating-bar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nautilus-floating-bar.c b/src/nautilus-floating-bar.c
index d107e8ca1..350717e30 100644
--- a/src/nautilus-floating-bar.c
+++ b/src/nautilus-floating-bar.c
@@ -253,15 +253,15 @@ nautilus_floating_bar_constructed (GObject *obj)
self->priv->spinner = w;
gtk_widget_set_size_request (w, 16, 16);
- gtk_widget_set_margin_left (w, 8);
+ gtk_widget_set_margin_start (w, 8);
labels_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
gtk_box_pack_start (GTK_BOX (box), labels_box, TRUE, TRUE, 0);
g_object_set (labels_box,
"margin-top", 2,
"margin-bottom", 2,
- "margin-left", 12,
- "margin-right", 12,
+ "margin-start", 12,
+ "margin-end", 12,
NULL);
gtk_widget_show (labels_box);