From 49188aeeda44d122b734cb51eecebb915f284b10 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 13 May 2014 07:14:11 -0400 Subject: [PATCH] GtkLabel: Drop references to GtkMisc GtkMisc is heading for retirement. Point to the GtkWidget h/valign properties instead. --- gtk/gtklabel.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c index e593517168..69f633a30a 100644 --- a/gtk/gtklabel.c +++ b/gtk/gtklabel.c @@ -181,7 +181,8 @@ * * gtk_label_set_justify() sets how the lines in a label align * with one another. If you want to set how the label as a whole - * aligns in its available space, see gtk_misc_set_alignment(). + * aligns in its available space, see the #GtkWidget::halign and + * #GtkWidget:valign properties. * * The #GtkLabel:width-chars and #GtkLabel:max-width-chars properties * can be used to control the size allocation of ellipsized or wrapped @@ -2803,12 +2804,12 @@ gtk_label_set_pattern (GtkLabel *label, * @jtype: a #GtkJustification * * Sets the alignment of the lines in the text of the label relative to - * each other. %GTK_JUSTIFY_LEFT is the default value when the - * widget is first created with gtk_label_new(). If you instead want - * to set the alignment of the label as a whole, use - * gtk_misc_set_alignment() instead. gtk_label_set_justify() has no - * effect on labels containing only a single line. - **/ + * each other. %GTK_JUSTIFY_LEFT is the default value when the widget is + * first created with gtk_label_new(). If you instead want to set the + * alignment of the label as a whole, use gtk_widget_set_halign() instead. + * gtk_label_set_justify() has no effect on labels containing only a + * single line. + */ void gtk_label_set_justify (GtkLabel *label, GtkJustification jtype)