diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2015-03-17 08:50:17 +0100 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2015-03-17 09:58:18 +0100 |
commit | a865d41181c13c9f1ebeb0eaa0520f57a9fa7a02 (patch) | |
tree | 42f97f866f27ce76d71fd0e995a3f6a08d93988d /src/lib/emile/Emile.h | |
parent | 8cac4ce5e776c677dd70e16e7a4913101a9fb73b (diff) |
emile: remove use of custom structure and prefer Eina_Rectangle.
Get rid of warning inside of the jpeg loader that result of it. I do believe
this is not an ABI break on the loader API. If you disagree, please raise your
voice.
Diffstat (limited to 'src/lib/emile/Emile.h')
-rw-r--r-- | src/lib/emile/Emile.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/emile/Emile.h b/src/lib/emile/Emile.h index ff3ce7e1cf..b092f42ea8 100644 --- a/src/lib/emile/Emile.h +++ b/src/lib/emile/Emile.h | |||
@@ -279,9 +279,7 @@ struct _Emile_Image_Animated | |||
279 | 279 | ||
280 | struct _Emile_Image_Load_Opts | 280 | struct _Emile_Image_Load_Opts |
281 | { | 281 | { |
282 | struct { | 282 | Eina_Rectangle region; |
283 | int x, y, w, h; | ||
284 | } region; | ||
285 | struct { | 283 | struct { |
286 | int src_x, src_y, src_w, src_h; | 284 | int src_x, src_y, src_w, src_h; |
287 | int dst_w, dst_h; | 285 | int dst_w, dst_h; |
@@ -298,6 +296,7 @@ struct _Emile_Image_Load_Opts | |||
298 | 296 | ||
299 | // FIXME: Add enum for error code | 297 | // FIXME: Add enum for error code |
300 | // FIXME: should set region at load time, not head time | 298 | // FIXME: should set region at load time, not head time |
299 | // FIXME: add a sizeof for all load opts and animated structure ? | ||
301 | 300 | ||
302 | EAPI Emile_Image *emile_image_tgv_memory_open(Eina_Binbuf *source, | 301 | EAPI Emile_Image *emile_image_tgv_memory_open(Eina_Binbuf *source, |
303 | Emile_Image_Load_Opts *opts, | 302 | Emile_Image_Load_Opts *opts, |