From 6d1dcaa92ae7d2d713094cc1f89b509e57d50a75 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 15 Oct 2020 10:08:03 -0400 Subject: docs: Explain the symbolic icon paintable situation Add a paragraph to the migration guide that explains how to properly render symbolic GtkIconPaintables. Also mention this in the GtkIconPaintable docs. There's a reason you can't spell 'paintable' without 'pain'... --- gtk/gtkicontheme.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gtk') diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index cc0cfaa2c5..8792135846 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -3670,6 +3670,9 @@ gtk_icon_paintable_get_icon_name (GtkIconPaintable *icon) * the file name and not the file contents for determining this. * This behaviour may change in the future. * + * Note that to render a symbolic #GtkIconPaintable properly (with + * recoloring), you have to set its icon name on a #GtkImage. + * * Returns: %TRUE if the icon is symbolic, %FALSE otherwise */ gboolean -- cgit v1.2.1