From e3737e59fecfa2f09a36bd4e13e4b3677415a3af Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 17 Mar 2005 19:32:45 +0000 Subject: [PATCH] Fix formatting in example in the docs. (#170611, Jianfei Wang) 2005-03-17 Matthias Clasen * gtk/gtklabel.c (gtk_label_set_markup): Fix formatting in example in the docs. (#170611, Jianfei Wang) --- ChangeLog | 3 +++ ChangeLog.pre-2-10 | 3 +++ ChangeLog.pre-2-8 | 3 +++ gtk/gtklabel.c | 2 +- 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 807ba5c250..43c6c7a130 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-03-17 Matthias Clasen + * gtk/gtklabel.c (gtk_label_set_markup): Fix formatting + in example in the docs. (#170611, Jianfei Wang) + * gtk/gtkiconview.c (gtk_icon_view_size_allocate): Clamp adjustment values on resize. (#170567, Tomislav Jonjic) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 807ba5c250..43c6c7a130 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 2005-03-17 Matthias Clasen + * gtk/gtklabel.c (gtk_label_set_markup): Fix formatting + in example in the docs. (#170611, Jianfei Wang) + * gtk/gtkiconview.c (gtk_icon_view_size_allocate): Clamp adjustment values on resize. (#170567, Tomislav Jonjic) diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 807ba5c250..43c6c7a130 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,8 @@ 2005-03-17 Matthias Clasen + * gtk/gtklabel.c (gtk_label_set_markup): Fix formatting + in example in the docs. (#170611, Jianfei Wang) + * gtk/gtkiconview.c (gtk_icon_view_size_allocate): Clamp adjustment values on resize. (#170567, Tomislav Jonjic) diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c index 010f620eef..f5ba616172 100644 --- a/gtk/gtklabel.c +++ b/gtk/gtklabel.c @@ -1301,7 +1301,7 @@ set_markup (GtkLabel *label, * * char *markup; * - * markup = g_markup_printf_escaped ("<span style=\"italic\">%s</span>", str); + * markup = g_markup_printf_escaped ("<span style=\"italic\">%s</span>", str); * gtk_label_set_markup (GTK_LABEL (label), markup); * g_free (markup); *