diff options
author | Sebastian Dransfeld <sd@tango.flipp.net> | 2008-10-27 07:33:21 +0000 |
---|---|---|
committer | Sebastian Dransfeld <sd@tango.flipp.net> | 2008-10-27 07:33:21 +0000 |
commit | 92ff3dab3701a3cc4f22d1b6a7383349818f845e (patch) | |
tree | 9d8064076f7b5e3e2cc3fa7803b4d1f98494418d /src/bin/e_int_config_modules.c | |
parent | d769a61c252b867ede82b3410713badd4c6ef56d (diff) | |
download | enlightenment-92ff3dab3701a3cc4f22d1b6a7383349818f845e.tar.gz |
Fix callback for list sorting.
SVN revision: 37202
Diffstat (limited to 'src/bin/e_int_config_modules.c')
-rw-r--r-- | src/bin/e_int_config_modules.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/e_int_config_modules.c b/src/bin/e_int_config_modules.c index 94148e03c4..b80bb139a1 100644 --- a/src/bin/e_int_config_modules.c +++ b/src/bin/e_int_config_modules.c @@ -76,7 +76,7 @@ static Evas_Bool _mod_hash_avail_list (const Evas_Hash *hash __UNUSED__, static Evas_Bool _mod_hash_load_list (const Evas_Hash *hash __UNUSED__, const void *key __UNUSED__, void *data, void *fdata); -static int _mod_list_sort (void *data1, void *data2); +static int _mod_list_sort (const void *data1, const void *data2); static void _list_widget_load (Evas_Object *obj, Eina_List *list); static void _avail_list_cb_change (void *data, Evas_Object *obj); static void _load_list_cb_change (void *data, Evas_Object *obj); @@ -476,9 +476,9 @@ _mod_hash_load_list(const Evas_Hash *hash __UNUSED__, const void *key __UNUSED__ } static int -_mod_list_sort(void *data1, void *data2) +_mod_list_sort(const void *data1, const void *data2) { - CFModule *m1, *m2; + const CFModule *m1, *m2; if (!(m1 = data1)) return 1; if (!(m2 = data2)) return -1; |