Fix formatting in example in the docs. (#170611, Jianfei Wang)

2005-03-17  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtklabel.c (gtk_label_set_markup): Fix formatting
	in example in the docs.  (#170611, Jianfei Wang)
This commit is contained in:
Matthias Clasen 2005-03-17 19:32:45 +00:00 committed by Matthias Clasen
parent b3570de983
commit e3737e59fe
4 changed files with 10 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2005-03-17 Matthias Clasen <mclasen@redhat.com> 2005-03-17 Matthias Clasen <mclasen@redhat.com>
* 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 * gtk/gtkiconview.c (gtk_icon_view_size_allocate): Clamp
adjustment values on resize. (#170567, Tomislav Jonjic) adjustment values on resize. (#170567, Tomislav Jonjic)

View File

@ -1,5 +1,8 @@
2005-03-17 Matthias Clasen <mclasen@redhat.com> 2005-03-17 Matthias Clasen <mclasen@redhat.com>
* 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 * gtk/gtkiconview.c (gtk_icon_view_size_allocate): Clamp
adjustment values on resize. (#170567, Tomislav Jonjic) adjustment values on resize. (#170567, Tomislav Jonjic)

View File

@ -1,5 +1,8 @@
2005-03-17 Matthias Clasen <mclasen@redhat.com> 2005-03-17 Matthias Clasen <mclasen@redhat.com>
* 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 * gtk/gtkiconview.c (gtk_icon_view_size_allocate): Clamp
adjustment values on resize. (#170567, Tomislav Jonjic) adjustment values on resize. (#170567, Tomislav Jonjic)

View File

@ -1301,7 +1301,7 @@ set_markup (GtkLabel *label,
* <informalexample><programlisting> * <informalexample><programlisting>
* char *markup; * char *markup;
* <!-- --> * <!-- -->
* markup = g_markup_printf_escaped ("&lt;span style=\"italic\"&gt;%s&lt;/span&gt;", str); * markup = g_markup_printf_escaped ("&lt;span style=\"italic\"&gt;&percnt;s&lt;/span&gt;", str);
* gtk_label_set_markup (GTK_LABEL (label), markup); * gtk_label_set_markup (GTK_LABEL (label), markup);
* g_free (markup); * g_free (markup);
* </programlisting></informalexample> * </programlisting></informalexample>