[gtk+/open-with-dialog: 39/53] open-with-dialog: use misc_set_alignment instead of widget_set_halign



commit 09b8d37b8a86c7dcbaac45ac1dc4d98204bf6f7d
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Nov 19 19:55:24 2010 +0100

    open-with-dialog: use misc_set_alignment instead of widget_set_halign

 gtk/gtkopenwithdialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkopenwithdialog.c b/gtk/gtkopenwithdialog.c
index 287a97a..596b06a 100644
--- a/gtk/gtkopenwithdialog.c
+++ b/gtk/gtkopenwithdialog.c
@@ -335,7 +335,7 @@ build_dialog_ui (GtkOpenWithDialog *self)
   gtk_widget_show (vbox2);
 
   self->priv->label = gtk_label_new ("");
-  gtk_widget_set_halign (self->priv->label, GTK_ALIGN_START);
+  gtk_misc_set_alignment (GTK_MISC (self->priv->label), 0, 0.5);
   gtk_label_set_line_wrap (GTK_LABEL (self->priv->label), TRUE);
   gtk_box_pack_start (GTK_BOX (vbox2), self->priv->label,
 		      FALSE, FALSE, 0);



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