diff --git a/src/bin/ephoto_directory_thumb.c b/src/bin/ephoto_directory_thumb.c index f899bf4..5ffe13b 100644 --- a/src/bin/ephoto_directory_thumb.c +++ b/src/bin/ephoto_directory_thumb.c @@ -86,7 +86,7 @@ _populate_end(void *data) } static void -_populate_error(int error, void *data) +_populate_error(void *data, int error) { Ephoto_Directory_Thumb *dt = data; if (error) ERR("could not populate: %s", strerror(error)); diff --git a/src/bin/ephoto_thumb_browser.c b/src/bin/ephoto_thumb_browser.c index d5427b7..eb8edbf 100644 --- a/src/bin/ephoto_thumb_browser.c +++ b/src/bin/ephoto_thumb_browser.c @@ -325,7 +325,7 @@ _ephoto_populate_end(void *data) } static void -_ephoto_populate_error(int error, void *data) +_ephoto_populate_error(void *data, int error) { Ephoto_Thumb_Browser *tb = data; if (error) ERR("could not populate: %s", strerror(error));