[giggle] giggle-input-dialog: gtk_misc_set_alignment
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [giggle] giggle-input-dialog: gtk_misc_set_alignment
- Date: Sun, 12 Jun 2011 16:34:15 +0000 (UTC)
commit 733372bfdab391e7a055a28d88faa46bb8fb3812
Author: Diego Celix <dcelix gmail com>
Date: Sat Jun 11 03:30:37 2011 +0200
giggle-input-dialog: gtk_misc_set_alignment
Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
src/giggle-input-dialog.c
src/giggle-input-dialog.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/giggle-input-dialog.c b/src/giggle-input-dialog.c
index 670d8ab..fe9b590 100644
--- a/src/giggle-input-dialog.c
+++ b/src/giggle-input-dialog.c
@@ -122,7 +122,8 @@ giggle_input_dialog_init (GiggleInputDialog *input_dialog)
priv->label = gtk_label_new (NULL);
g_object_ref_sink (priv->label);
- gtk_misc_set_alignment (GTK_MISC (priv->label), 0., 0.);
+ gtk_widget_set_halign (priv->label, GTK_ALIGN_START);
+ gtk_widget_set_valign (priv->label, GTK_ALIGN_START);
gtk_box_pack_start (GTK_BOX (box), priv->label, FALSE, FALSE, 0);
priv->entry = gtk_entry_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]