[rhythmbox] button-bar: switch to non-deprecated margin properties



commit 85108e0e5b64445b5af4056f8dc50d45d06f4e83
Author: Jonathan Matthew <jonathan d14n org>
Date:   Wed Jun 15 19:45:27 2016 +1000

    button-bar: switch to non-deprecated margin properties
    
    https://bugzilla.gnome.org/show_bug.cgi?id=749388

 widgets/rb-button-bar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/widgets/rb-button-bar.c b/widgets/rb-button-bar.c
index f5dfca8..600f7ab 100644
--- a/widgets/rb-button-bar.c
+++ b/widgets/rb-button-bar.c
@@ -207,7 +207,7 @@ append_menu (RBButtonBar *bar, GMenuModel *menu, gboolean need_separator)
                label_text = NULL;
                g_menu_model_get_item_attribute (menu, i, "label", "s", &label_text);
                label = gtk_label_new (g_dgettext (NULL, label_text));
-               g_object_set (label, "margin-left", 6, "margin-right", 6, NULL);
+               g_object_set (label, "margin-start", 6, "margin-end", 6, NULL);
                gtk_container_add (GTK_CONTAINER (button), label);
 
                if (g_menu_model_get_item_attribute (menu, i, "accel", "s", &accel)) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]