diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-11-13 07:35:18 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-11-13 07:35:18 -0500 |
commit | 2ff175938d9541b991a2aa9ee7abda441a32e1c7 (patch) | |
tree | 1a12a71a5b97e2b5839451454097f2c2543d3acb /gtk/gtkapplication.c | |
parent | ec1ea0db04294f696beb093aa2414411914dd931 (diff) | |
download | gtk+-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.c | 2 |
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); } |