label: Fix markup doc example

This commit is contained in:
Thomas Lange 2022-11-17 03:46:01 +00:00 committed by Matthias Clasen
parent 2daea9e459
commit 7adf720f08

View File

@ -232,8 +232,8 @@
*
* ```c
* const char *text =
* "Go to the"
* "<a href=\"http://www.gtk.org title=\"&lt;i&gt;Our&lt;/i&gt; website\">"
* "Go to the "
* "<a href=\"https://www.gtk.org\" title=\"&lt;i&gt;Our&lt;/i&gt; website\">"
* "GTK website</a> for more...";
* GtkWidget *label = gtk_label_new (NULL);
* gtk_label_set_markup (GTK_LABEL (label), text);