[giggle] giggle-clone-dialog: gtk_misc_set_alignment
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [giggle] giggle-clone-dialog: gtk_misc_set_alignment
- Date: Sun, 12 Jun 2011 16:34:05 +0000 (UTC)
commit 5200fead8376d684f6b14e4369654c0d00d32ed5
Author: Diego Celix <dcelix gmail com>
Date: Sat Jun 11 03:24:10 2011 +0200
giggle-clone-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-clone-dialog.c
src/giggle-clone-dialog.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/giggle-clone-dialog.c b/src/giggle-clone-dialog.c
index 111a200..a47913b 100644
--- a/src/giggle-clone-dialog.c
+++ b/src/giggle-clone-dialog.c
@@ -225,7 +225,8 @@ set_table_row (GtkTable *table,
if (label) {
gtk_label_set_mnemonic_widget (GTK_LABEL (label), widget);
- gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
+ gtk_widget_set_halign (label, GTK_ALIGN_START);
+ gtk_widget_set_valign (label, GTK_ALIGN_CENTER);
gtk_widget_show (label);
gtk_table_attach (GTK_TABLE (table), label,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]