summaryrefslogtreecommitdiff
path: root/gtk/gtkicontheme.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-09-30 08:01:50 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-09-30 08:55:39 -0400
commit9d701129ccb76fe593bb2933b6c3a3616c7e9079 (patch)
tree8aef694afcdf2c2559553fcd9a0a56e6c4934158 /gtk/gtkicontheme.c
parent7defc3b75908ff6887884bdf4621bb7f72e969a2 (diff)
downloadgtk+-9d701129ccb76fe593bb2933b6c3a3616c7e9079.tar.gz
icontheme: Clarify the docs
Mention that icons directly in /$app_id/icons/ are treated as unthemed icons. See #3216
Diffstat (limited to 'gtk/gtkicontheme.c')
-rw-r--r--gtk/gtkicontheme.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index 848d2848fa..49d16d5ca5 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -1542,9 +1542,12 @@ gtk_icon_theme_add_search_path (GtkIconTheme *self,
*
* The resources are considered as part of the hicolor icon theme
* and must be located in subdirectories that are defined in the
- * hicolor icon theme, such as `@path/16x16/actions/run.png`.
+ * hicolor icon theme, such as `@path/16x16/actions/run.png`
+ * or `@path/scalable/actions/run.svg`.
+ *
* Icons that are directly placed in the resource path instead
- * of a subdirectory are also considered as ultimate fallback.
+ * of a subdirectory are also considered as ultimate fallback,
+ * but they are treated like unthemed icons.
*/
void
gtk_icon_theme_set_resource_path (GtkIconTheme *self,