summaryrefslogtreecommitdiff
path: root/src/modules/evas/loaders/jpeg/evas_image_load_jpeg.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2013-07-02 15:33:32 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-07-02 16:58:10 +0900
commitf1506d8dd23dccdab43f657d599ee65fd9e0c78a (patch)
tree04da06cfc7bee2cf3676e3a04c0c1904f7b08a00 /src/modules/evas/loaders/jpeg/evas_image_load_jpeg.c
parent687c4aa475f84c9958a6e438704e840694a3a0e0 (diff)
evas/loaders: use Eina_Stringshare where needed.
Evas loaders' open() function expect the key to be a stringshare, so declare it as such and keep using ref() without add(). Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Diffstat (limited to '')
-rw-r--r--src/modules/evas/loaders/jpeg/evas_image_load_jpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/evas/loaders/jpeg/evas_image_load_jpeg.c b/src/modules/evas/loaders/jpeg/evas_image_load_jpeg.c
index 3d9999a179..31048aad04 100644
--- a/src/modules/evas/loaders/jpeg/evas_image_load_jpeg.c
+++ b/src/modules/evas/loaders/jpeg/evas_image_load_jpeg.c
@@ -1262,7 +1262,7 @@ evas_image_load_file_data_jpeg_alpha_internal(Image_Entry *ie, FILE *f, int *err
1262#endif 1262#endif
1263 1263
1264static void * 1264static void *
1265evas_image_load_file_open_jpeg(Eina_File *f, const char *key EINA_UNUSED, 1265evas_image_load_file_open_jpeg(Eina_File *f, Eina_Stringshare *key EINA_UNUSED,
1266 Evas_Image_Load_Opts *opts, 1266 Evas_Image_Load_Opts *opts,
1267 Evas_Image_Animated *animated EINA_UNUSED, 1267 Evas_Image_Animated *animated EINA_UNUSED,
1268 int *error) 1268 int *error)