[gnome-initial-setup] Avoid deprecated api



commit 078909657a1ed5df3674761a7fa2b71fa342c4f2
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Dec 5 21:15:25 2013 -0500

    Avoid deprecated api
    
    gtk_widget_set_margin_left/right have been replaced by
    gtk_widget_set_margin_start/end.

 gnome-initial-setup/gis-page.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-initial-setup/gis-page.c b/gnome-initial-setup/gis-page.c
index ff7a107..30c21ff 100644
--- a/gnome-initial-setup/gis-page.c
+++ b/gnome-initial-setup/gis-page.c
@@ -207,10 +207,10 @@ gis_page_class_init (GisPageClass *klass)
 static void
 gis_page_init (GisPage *page)
 {
-  gtk_widget_set_margin_left (GTK_WIDGET (page), 12);
+  gtk_widget_set_margin_start (GTK_WIDGET (page), 12);
   gtk_widget_set_margin_top (GTK_WIDGET (page), 12);
   gtk_widget_set_margin_bottom (GTK_WIDGET (page), 12);
-  gtk_widget_set_margin_right (GTK_WIDGET (page), 12);
+  gtk_widget_set_margin_end (GTK_WIDGET (page), 12);
 }
 
 char *


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