summaryrefslogtreecommitdiff
path: root/legacy/efreet/src/lib/Efreet_Mime.h
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2010-11-09 20:15:55 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2010-11-09 20:15:55 +0000
commit7545e542038464a6cc20444b38dadad9fef32042 (patch)
treedd7be78a4b9c603835ffbed835de93864a57cc4e /legacy/efreet/src/lib/Efreet_Mime.h
parentf2c33e9bc0eb21277df08eb4296f01f6791f4ae9 (diff)
Let efreet icon return const
We return a pointer to an internal cache, so no need to do strdup. I we implement a cache, the pointer will be a return from a mmap'ed file, so no need to do strdup. A bit late to do an API break, but must be done. SVN revision: 54372
Diffstat (limited to 'legacy/efreet/src/lib/Efreet_Mime.h')
-rw-r--r--legacy/efreet/src/lib/Efreet_Mime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/efreet/src/lib/Efreet_Mime.h b/legacy/efreet/src/lib/Efreet_Mime.h
index 3bab016..9258f73 100644
--- a/legacy/efreet/src/lib/Efreet_Mime.h
+++ b/legacy/efreet/src/lib/Efreet_Mime.h
@@ -52,7 +52,7 @@ EAPI const char *efreet_mime_globs_type_get(const char *file);
52EAPI const char *efreet_mime_special_type_get(const char *file); 52EAPI const char *efreet_mime_special_type_get(const char *file);
53EAPI const char *efreet_mime_fallback_type_get(const char *file); 53EAPI const char *efreet_mime_fallback_type_get(const char *file);
54 54
55EAPI char *efreet_mime_type_icon_get(const char *mime, const char *theme, 55EAPI const char *efreet_mime_type_icon_get(const char *mime, const char *theme,
56 unsigned int size); 56 unsigned int size);
57 57
58EAPI void efreet_mime_type_cache_clear(void); 58EAPI void efreet_mime_type_cache_clear(void);