summaryrefslogtreecommitdiff
path: root/gtk/gtklabel.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-05-04 00:24:46 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-05-04 00:24:46 +0000
commitd77c56a140de09163b310795aa1fddb66fa7dda6 (patch)
treef480e81f0072fa0d00c3448d9e4c790bc3b1d4ce /gtk/gtklabel.c
parent7250d57ad6769048ec262e15c4be169a0371a093 (diff)
downloadgtk+-d77c56a140de09163b310795aa1fddb66fa7dda6.tar.gz
Make GTK_JUSTIFY_FILL work, using pango_layout_set_justify() that works
2007-05-03 Behdad Esfahbod <behdad@gnome.org> * gtk/gtklabel.c (gtk_label_ensure_layout): * gtk/gtktextlayout.c (set_para_values): Make GTK_JUSTIFY_FILL work, using pango_layout_set_justify() that works now. (#435675) svn path=/trunk/; revision=17790
Diffstat (limited to 'gtk/gtklabel.c')
-rw-r--r--gtk/gtklabel.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index aa2ef089bf..0cf9cf7399 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -2024,7 +2024,6 @@ gtk_label_ensure_layout (GtkLabel *label)
align = PANGO_ALIGN_CENTER;
break;
case GTK_JUSTIFY_FILL:
- /* FIXME: This just doesn't work to do this */
align = rtl ? PANGO_ALIGN_RIGHT : PANGO_ALIGN_LEFT;
pango_layout_set_justify (label->layout, TRUE);
break;