[giggle] src/eggfindbar: gtk_misc_set_alignment replacement
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [giggle] src/eggfindbar: gtk_misc_set_alignment replacement
- Date: Sun, 12 Jun 2011 16:34:00 +0000 (UTC)
commit 9c854c0dd2163ded1fdd3e2fcf7352f633406d40
Author: Diego Celix <dcelix gmail com>
Date: Sat Jun 11 03:20:22 2011 +0200
src/eggfindbar: gtk_misc_set_alignment replacement
Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
src/eggfindbar.c
src/eggfindbar.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/eggfindbar.c b/src/eggfindbar.c
index a13c34e..3433c89 100644
--- a/src/eggfindbar.c
+++ b/src/eggfindbar.c
@@ -342,7 +342,8 @@ egg_find_bar_init (EggFindBar *find_bar)
priv->status_label = gtk_label_new (NULL);
gtk_label_set_ellipsize (GTK_LABEL (priv->status_label),
PANGO_ELLIPSIZE_END);
- gtk_misc_set_alignment (GTK_MISC (priv->status_label), 0.0, 0.5);
+ gtk_widget_set_halign (priv->status_label, GTK_ALIGN_START);
+ gtk_widget_set_valign (priv->status_label, GTK_ALIGN_CENTER);
g_signal_connect (priv->find_entry, "changed",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]