summaryrefslogtreecommitdiff
path: root/gtk/gtkapplication.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-11-13 07:35:18 -0500
committerMatthias Clasen <mclasen@redhat.com>2017-11-13 07:35:18 -0500
commit2ff175938d9541b991a2aa9ee7abda441a32e1c7 (patch)
tree1a12a71a5b97e2b5839451454097f2c2543d3acb /gtk/gtkapplication.c
parentec1ea0db04294f696beb093aa2414411914dd931 (diff)
downloadgtk+-2ff175938d9541b991a2aa9ee7abda441a32e1c7.tar.gz
application: Append a / to the icon resource path
g_resources_enumerate_children expects the path to end in a '/' (even though thats not stated in the docs), and will copy it if that isn't the case. Avoid the copy by putting a '/' there to begin with.
Diffstat (limited to 'gtk/gtkapplication.c')
-rw-r--r--gtk/gtkapplication.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c
index da6712160f..f7bd5b5b09 100644
--- a/gtk/gtkapplication.c
+++ b/gtk/gtkapplication.c
@@ -204,7 +204,7 @@ gtk_application_load_resources (GtkApplication *application)
gchar *iconspath;
default_theme = gtk_icon_theme_get_default ();
- iconspath = g_strconcat (base_path, "/icons", NULL);
+ iconspath = g_strconcat (base_path, "/icons/", NULL);
gtk_icon_theme_add_resource_path (default_theme, iconspath);
g_free (iconspath);
}