use list handler macro

SVN revision: 79143
This commit is contained in:
Mike Blumenkrantz 2012-11-12 10:00:08 +00:00
parent 031624abd9
commit cd4c26b0f5
1 changed files with 3 additions and 9 deletions

View File

@ -493,15 +493,9 @@ _win_share_cb(void *data __UNUSED__, void *data2 __UNUSED__)
return;
}
handlers = eina_list_append
(handlers, ecore_event_handler_add
(ECORE_CON_EVENT_URL_DATA, _upload_data_cb, NULL));
handlers = eina_list_append
(handlers, ecore_event_handler_add
(ECORE_CON_EVENT_URL_PROGRESS, _upload_progress_cb, NULL));
handlers = eina_list_append
(handlers, ecore_event_handler_add
(ECORE_CON_EVENT_URL_COMPLETE, _upload_complete_cb, NULL));
E_LIST_HANDLER_APPEND(handlers, ECORE_CON_EVENT_URL_DATA, _upload_data_cb, NULL);
E_LIST_HANDLER_APPEND(handlers, ECORE_CON_EVENT_URL_PROGRESS, _upload_progress_cb, NULL);
E_LIST_HANDLER_APPEND(handlers, ECORE_CON_EVENT_URL_COMPLETE, _upload_complete_cb, NULL);
url_up = ecore_con_url_new("http://www.enlightenment.org/shot.php");
// why use http 1.1? proxies like squid don't handle 1.1 posts with expect