[bijiben] settingsDialog: do not use deprecated margin_left, margin_right
- From: Pierre-Yves Luyten <pyluyten src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bijiben] settingsDialog: do not use deprecated margin_left, margin_right
- Date: Sat, 1 Mar 2014 22:30:39 +0000 (UTC)
commit 140011f22612955ecc3239f899a540e71e1f93e6
Author: Pierre-Yves Luyten <py luyten fr>
Date: Sat Mar 1 23:20:50 2014 +0100
settingsDialog: do not use deprecated margin_left, margin_right
Use gtk_widget_set_margin_start, _end.
src/bjb-settings-dialog.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/bjb-settings-dialog.c b/src/bjb-settings-dialog.c
index 715f7a1..7990e07 100644
--- a/src/bjb-settings-dialog.c
+++ b/src/bjb-settings-dialog.c
@@ -317,12 +317,12 @@ add_child (gpointer provider_info, gpointer user_data)
child, provider_child_free);
w = child->icon;
- gtk_widget_set_margin_left (w, 12);
+ gtk_widget_set_margin_start (w, 12);
gtk_container_add (GTK_CONTAINER (box), w);
w = gtk_label_new (child->name);
- gtk_widget_set_margin_right (w, 180);
+ gtk_widget_set_margin_end (w, 180);
gtk_container_add (GTK_CONTAINER (box), w);
gtk_widget_set_valign (w, GTK_ALIGN_CENTER);
gtk_box_pack_end (GTK_BOX (box), w, FALSE, FALSE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]