[giggle] giggle-diff-window: gtk_misc_set_alignment
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [giggle] giggle-diff-window: gtk_misc_set_alignment
- Date: Sun, 12 Jun 2011 16:34:10 +0000 (UTC)
commit 87e016c73b5d96ca46d99d23c5915d21a32f048e
Author: Diego Celix <dcelix gmail com>
Date: Sat Jun 11 03:27:32 2011 +0200
giggle-diff-window: gtk_misc_set_alignment
Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
src/giggle-diff-window.c
src/giggle-diff-window.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/giggle-diff-window.c b/src/giggle-diff-window.c
index 209c2d9..51c8118 100644
--- a/src/giggle-diff-window.c
+++ b/src/giggle-diff-window.c
@@ -102,7 +102,8 @@ giggle_diff_window_init (GiggleDiffWindow *diff_window)
label = gtk_label_new (NULL);
str = g_strdup_printf ("<b>%s</b>", _("Revision log:"));
- gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.0);
+ gtk_widget_set_halign (label, GTK_ALIGN_START);
+ gtk_widget_set_valign (label, GTK_ALIGN_START);
gtk_label_set_markup (GTK_LABEL (label), str);
g_free (str);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]