[gnome-initial-setup] Remove more deprecated api
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup] Remove more deprecated api
- Date: Fri, 6 Dec 2013 03:40:08 +0000 (UTC)
commit 7d7ccd5d1b6ea62a37d432a1e0fd58411c4702d4
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Dec 6 11:39:42 2013 +0800
Remove more deprecated api
.../pages/keyboard/gis-keyboard-page.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gnome-initial-setup/pages/keyboard/gis-keyboard-page.c
b/gnome-initial-setup/pages/keyboard/gis-keyboard-page.c
index 39ca368..91b10e7 100644
--- a/gnome-initial-setup/pages/keyboard/gis-keyboard-page.c
+++ b/gnome-initial-setup/pages/keyboard/gis-keyboard-page.c
@@ -391,16 +391,16 @@ add_input_row (GisKeyboardPage *self,
gtk_container_add (GTK_CONTAINER (row), box);
label = gtk_label_new (name);
gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5);
- 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, 6);
gtk_widget_set_margin_bottom (label, 6);
gtk_box_pack_start (GTK_BOX (box), label, TRUE, TRUE, 0);
if (strcmp (type, INPUT_SOURCE_TYPE_IBUS) == 0) {
image = gtk_image_new_from_icon_name ("system-run-symbolic", GTK_ICON_SIZE_BUTTON);
- gtk_widget_set_margin_left (image, 20);
- gtk_widget_set_margin_right (image, 20);
+ gtk_widget_set_margin_start (image, 20);
+ gtk_widget_set_margin_end (image, 20);
gtk_widget_set_margin_top (image, 6);
gtk_widget_set_margin_bottom (image, 6);
gtk_style_context_add_class (gtk_widget_get_style_context (image), "dim-label");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]