From 112883186c603332dff628cdfc0789ea09b19add Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 8 Aug 2020 14:38:18 -0400 Subject: [PATCH] gtk-demo: Fix iconscroll complex text We changed the way fontify works. Adapt the iconscroll use. --- demos/gtk-demo/iconscroll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demos/gtk-demo/iconscroll.c b/demos/gtk-demo/iconscroll.c index 09ed6c1258..f7cdc13b6a 100644 --- a/demos/gtk-demo/iconscroll.c +++ b/demos/gtk-demo/iconscroll.c @@ -75,7 +75,7 @@ populate_icons (void) static char *content; static gsize content_len; -extern void fontify (GtkTextBuffer *buffer); +extern void fontify (const char *format, GtkTextBuffer *buffer); static void populate_text (gboolean hilight) @@ -95,7 +95,7 @@ populate_text (gboolean hilight) gtk_text_buffer_set_text (buffer, content, (int)content_len); if (hilight) - fontify (buffer); + fontify ("c", buffer); textview = gtk_text_view_new (); gtk_text_view_set_buffer (GTK_TEXT_VIEW (textview), buffer);