emotion: fix backend order.
This commit is contained in:
parent
dfb2fb2de5
commit
6c1833246c
|
@ -6,6 +6,7 @@
|
|||
|
||||
* Eina: add eina_file_refresh(), eina_file_virtualize() and eina_file_virtual().
|
||||
* Evas: use eina_file_virtualize() for evas_object_image_memfile_set().
|
||||
* Emotion: fix backend priority order.
|
||||
|
||||
2013-07-25 ChunEon Park (Hermet)
|
||||
|
||||
|
|
1
NEWS
1
NEWS
|
@ -395,6 +395,7 @@ Fixes:
|
|||
- Fix desktop command parsing of https.
|
||||
* Emotion:
|
||||
- Fix memory leak in gstreamer_ecore_x_check.
|
||||
- Fix backend priority order.
|
||||
* Ethumb:
|
||||
- Fix memory leak in error case.
|
||||
* Eeze:
|
||||
|
|
|
@ -37,14 +37,14 @@ static int
|
|||
_emotion_engine_registry_entry_cmp(const void *pa, const void *pb)
|
||||
{
|
||||
const Emotion_Engine_Registry_Entry *a = pa, *b = pb;
|
||||
int r = a->priority - b->priority;
|
||||
int r = b->priority - a->priority;
|
||||
|
||||
if (r == 0)
|
||||
r = a->engine->priority - b->engine->priority;
|
||||
r = b->engine->priority - a->engine->priority;
|
||||
|
||||
if (r == 0)
|
||||
/* guarantee some order to ease debug */
|
||||
r = strcmp(a->engine->name, b->engine->name);
|
||||
r = strcmp(b->engine->name, a->engine->name);
|
||||
|
||||
return r;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue