efreet icon - fix constness of char ptr
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Thu, 8 Nov 2018 16:24:57 +0000 (16:24 +0000)
committerSangHyeon Jade Lee <sh10233.lee@samsung.com>
Tue, 20 Nov 2018 06:58:45 +0000 (15:58 +0900)
src/lib/efreet/efreet_icon.c

index 5f17397..f802177 100644 (file)
@@ -218,7 +218,11 @@ efreet_icon_remove_extension(const char *icon)
 EAPI const char *
 efreet_icon_path_find(const char *theme_name, const char *icon, unsigned int size)
 {
+#ifdef SLOPPY_SPEC
     char *tmp;
+#else
+    const char *tmp;
+#endif
     const char *value = NULL;
     Efreet_Icon_Theme *theme;