summaryrefslogtreecommitdiff
path: root/font-viewer/gd-main-toolbar.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-01-08 20:40:44 +0100
committerraveit65 <[email protected]>2017-02-17 12:28:22 +0100
commit99f4ac126c7bd12bc29d9c47fa90bb8b1a37301d (patch)
tree510910218608a281989215ed884c06ebb45796ab /font-viewer/gd-main-toolbar.c
parent239b7c8b751b2536a097797f2ea24907c1107059 (diff)
downloadmate-control-center-99f4ac126c7bd12bc29d9c47fa90bb8b1a37301d.tar.bz2
mate-control-center-99f4ac126c7bd12bc29d9c47fa90bb8b1a37301d.tar.xz
Fontviewer: do not use deprecated-gtk_misc_set_alignment-and-margin-left-right
Diffstat (limited to 'font-viewer/gd-main-toolbar.c')
-rw-r--r--font-viewer/gd-main-toolbar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/font-viewer/gd-main-toolbar.c b/font-viewer/gd-main-toolbar.c
index 9ec8fc0c..843a7851 100644
--- a/font-viewer/gd-main-toolbar.c
+++ b/font-viewer/gd-main-toolbar.c
@@ -264,7 +264,7 @@ gd_main_toolbar_constructed (GObject *obj)
/* left section */
self->priv->left_group = gtk_tool_item_new ();
- gtk_widget_set_margin_right (GTK_WIDGET (self->priv->left_group), 12);
+ gtk_widget_set_margin_end (GTK_WIDGET (self->priv->left_group), 12);
gtk_toolbar_insert (tb, self->priv->left_group, -1);
gtk_size_group_add_widget (self->priv->vertical_size_group,
GTK_WIDGET (self->priv->left_group));
@@ -310,7 +310,7 @@ gd_main_toolbar_constructed (GObject *obj)
/* right section */
self->priv->right_group = gtk_tool_item_new ();
- gtk_widget_set_margin_left (GTK_WIDGET (self->priv->right_group), 12);
+ gtk_widget_set_margin_start (GTK_WIDGET (self->priv->right_group), 12);
gtk_toolbar_insert (tb, self->priv->right_group, -1);
gtk_size_group_add_widget (self->priv->vertical_size_group,
GTK_WIDGET (self->priv->right_group));