[gnome-control-center] privacy: Drop deprecated API usage



commit 2a1455ff7f107553980a45aa7abc5e3da3498ed8
Author: Rui Matos <tiagomatos gmail com>
Date:   Sat Nov 29 16:25:57 2014 +0100

    privacy: Drop deprecated API usage
    
    https://bugzilla.gnome.org/show_bug.cgi?id=740986

 panels/privacy/cc-privacy-panel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/privacy/cc-privacy-panel.c b/panels/privacy/cc-privacy-panel.c
index 12ec561..727eb87 100644
--- a/panels/privacy/cc-privacy-panel.c
+++ b/panels/privacy/cc-privacy-panel.c
@@ -160,7 +160,7 @@ add_row (CcPrivacyPanel *self,
   gtk_container_add (GTK_CONTAINER (self->priv->list_box), row);
 
   w = gtk_label_new (label);
-  gtk_misc_set_alignment (GTK_MISC (w), 0.0f, 0.5f);
+  gtk_widget_set_halign (w, GTK_ALIGN_START);
   gtk_widget_set_margin_start (w, 20);
   gtk_widget_set_margin_end (w, 20);
   gtk_widget_set_margin_top (w, 12);


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