summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2015-06-14 09:53:45 +0300
committerDaniel Zaoui <daniel.zaoui@samsung.com>2015-06-14 11:23:47 +0300
commitc4df45cbf04dd9fd40cd50d0b789bf2e8c4ba157 (patch)
tree9aa8f6ea4dcd6932fcc616c46b872512cf076b3f
parentf78873735436015822fef390257ca6397ab3f781 (diff)
DnD/X11: rename notifiers
As the notify functions don't notify anymore, they have to be renamed to reflect their real job, i.e data preparers before calling user functions.
-rw-r--r--src/lib/elm_cnp.c62
1 files changed, 31 insertions, 31 deletions
diff --git a/src/lib/elm_cnp.c b/src/lib/elm_cnp.c
index 1a9c7fe2c..d7619c16c 100644
--- a/src/lib/elm_cnp.c
+++ b/src/lib/elm_cnp.c
@@ -205,7 +205,7 @@ typedef struct _X11_Cnp_Selection X11_Cnp_Selection;
205 205
206typedef Eina_Bool (*X11_Converter_Fn_Cb) (char *target, void *data, int size, void **data_ret, int *size_ret, Ecore_X_Atom *ttype, int *typesize); 206typedef Eina_Bool (*X11_Converter_Fn_Cb) (char *target, void *data, int size, void **data_ret, int *size_ret, Ecore_X_Atom *ttype, int *typesize);
207typedef int (*X11_Response_Handler_Cb) (X11_Cnp_Selection *sel, Ecore_X_Event_Selection_Notify *); 207typedef int (*X11_Response_Handler_Cb) (X11_Cnp_Selection *sel, Ecore_X_Event_Selection_Notify *);
208typedef Eina_Bool (*X11_Notify_Handler_Cb) (Ecore_X_Event_Selection_Notify *, Elm_Selection_Data *, Tmp_Info **); 208typedef Eina_Bool (*X11_Data_Preparer_Cb) (Ecore_X_Event_Selection_Notify *, Elm_Selection_Data *, Tmp_Info **);
209 209
210static void _x11_sel_obj_del (void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED); 210static void _x11_sel_obj_del (void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED);
211static void _x11_sel_obj_del2 (void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED); 211static void _x11_sel_obj_del2 (void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED);
@@ -218,11 +218,11 @@ static Eina_Bool _x11_image_converter (char *target, void *data, i
218static Eina_Bool _x11_vcard_send (char *target, void *data, int size, void **data_ret, int *size_ret, Ecore_X_Atom *ttype, int *typesize); 218static Eina_Bool _x11_vcard_send (char *target, void *data, int size, void **data_ret, int *size_ret, Ecore_X_Atom *ttype, int *typesize);
219static Eina_Bool _x11_is_uri_type_data (X11_Cnp_Selection *sel EINA_UNUSED, Ecore_X_Event_Selection_Notify *notify); 219static Eina_Bool _x11_is_uri_type_data (X11_Cnp_Selection *sel EINA_UNUSED, Ecore_X_Event_Selection_Notify *notify);
220static Eina_Bool _x11_notify_handler_targets (X11_Cnp_Selection *sel, Ecore_X_Event_Selection_Notify *notify); 220static Eina_Bool _x11_notify_handler_targets (X11_Cnp_Selection *sel, Ecore_X_Event_Selection_Notify *notify);
221static Eina_Bool _x11_notify_handler_text (Ecore_X_Event_Selection_Notify *notify, Elm_Selection_Data *ddata, Tmp_Info **tmp_info); 221static Eina_Bool _x11_data_preparer_text (Ecore_X_Event_Selection_Notify *notify, Elm_Selection_Data *ddata, Tmp_Info **tmp_info);
222static Eina_Bool _x11_notify_handler_image (Ecore_X_Event_Selection_Notify *notify, Elm_Selection_Data *ddata, Tmp_Info **tmp_info); 222static Eina_Bool _x11_data_preparer_image (Ecore_X_Event_Selection_Notify *notify, Elm_Selection_Data *ddata, Tmp_Info **tmp_info);
223static Eina_Bool _x11_notify_handler_uri (Ecore_X_Event_Selection_Notify *notify, Elm_Selection_Data *ddata, Tmp_Info **tmp_info); 223static Eina_Bool _x11_data_preparer_uri (Ecore_X_Event_Selection_Notify *notify, Elm_Selection_Data *ddata, Tmp_Info **tmp_info);
224//static int _x11_notify_handler_html (X11_Cnp_Selection *sel, Ecore_X_Event_Selection_Notify *notify); 224//static int _x11_notify_handler_html (X11_Cnp_Selection *sel, Ecore_X_Event_Selection_Notify *notify);
225static Eina_Bool _x11_vcard_receive (Ecore_X_Event_Selection_Notify *notify, Elm_Selection_Data *ddata, Tmp_Info **tmp_info); 225static Eina_Bool _x11_data_preparer_vcard (Ecore_X_Event_Selection_Notify *notify, Elm_Selection_Data *ddata, Tmp_Info **tmp_info);
226static Eina_Bool _x11_dnd_enter (void *data EINA_UNUSED, int etype EINA_UNUSED, void *ev); 226static Eina_Bool _x11_dnd_enter (void *data EINA_UNUSED, int etype EINA_UNUSED, void *ev);
227static Eina_Bool _x11_dnd_drop (void *data EINA_UNUSED, int etype EINA_UNUSED, void *ev); 227static Eina_Bool _x11_dnd_drop (void *data EINA_UNUSED, int etype EINA_UNUSED, void *ev);
228static Eina_Bool _x11_dnd_position (void *data EINA_UNUSED, int etype EINA_UNUSED, void *ev); 228static Eina_Bool _x11_dnd_position (void *data EINA_UNUSED, int etype EINA_UNUSED, void *ev);
@@ -257,7 +257,7 @@ struct _Cnp_Atom
257#ifdef HAVE_ELEMENTARY_X 257#ifdef HAVE_ELEMENTARY_X
258 /* Called by ecore to do conversion */ 258 /* Called by ecore to do conversion */
259 X11_Converter_Fn_Cb x_converter; 259 X11_Converter_Fn_Cb x_converter;
260 X11_Notify_Handler_Cb x_notify; 260 X11_Data_Preparer_Cb x_data_preparer;
261 /* Atom */ 261 /* Atom */
262 Ecore_X_Atom x_atom; 262 Ecore_X_Atom x_atom;
263#endif 263#endif
@@ -459,7 +459,7 @@ static Cnp_Atom _atoms[CNP_N_ATOMS] = {
459 .formats = ELM_SEL_FORMAT_MARKUP | ELM_SEL_FORMAT_IMAGE, /* Either images or entries */ 459 .formats = ELM_SEL_FORMAT_MARKUP | ELM_SEL_FORMAT_IMAGE, /* Either images or entries */
460#ifdef HAVE_ELEMENTARY_X 460#ifdef HAVE_ELEMENTARY_X
461 .x_converter = _x11_general_converter, 461 .x_converter = _x11_general_converter,
462 .x_notify = _x11_notify_handler_uri, 462 .x_data_preparer = _x11_data_preparer_uri,
463#endif 463#endif
464 }, 464 },
465 ARRAYINIT(CNP_ATOM_text_urilist) { 465 ARRAYINIT(CNP_ATOM_text_urilist) {
@@ -467,7 +467,7 @@ static Cnp_Atom _atoms[CNP_N_ATOMS] = {
467 .formats = ELM_SEL_FORMAT_IMAGE, 467 .formats = ELM_SEL_FORMAT_IMAGE,
468#ifdef HAVE_ELEMENTARY_X 468#ifdef HAVE_ELEMENTARY_X
469 .x_converter = _x11_general_converter, 469 .x_converter = _x11_general_converter,
470 .x_notify = _x11_notify_handler_uri, 470 .x_data_preparer = _x11_data_preparer_uri,
471#endif 471#endif
472 }, 472 },
473 ARRAYINIT(CNP_ATOM_text_x_vcard) { 473 ARRAYINIT(CNP_ATOM_text_x_vcard) {
@@ -475,7 +475,7 @@ static Cnp_Atom _atoms[CNP_N_ATOMS] = {
475 .formats = ELM_SEL_FORMAT_VCARD, 475 .formats = ELM_SEL_FORMAT_VCARD,
476#ifdef HAVE_ELEMENTARY_X 476#ifdef HAVE_ELEMENTARY_X
477 .x_converter = _x11_vcard_send, 477 .x_converter = _x11_vcard_send,
478 .x_notify = _x11_vcard_receive, 478 .x_data_preparer = _x11_data_preparer_vcard,
479#endif 479#endif
480 }, 480 },
481 ARRAYINIT(CNP_ATOM_image_png) { 481 ARRAYINIT(CNP_ATOM_image_png) {
@@ -483,7 +483,7 @@ static Cnp_Atom _atoms[CNP_N_ATOMS] = {
483 .formats = ELM_SEL_FORMAT_IMAGE, 483 .formats = ELM_SEL_FORMAT_IMAGE,
484#ifdef HAVE_ELEMENTARY_X 484#ifdef HAVE_ELEMENTARY_X
485 .x_converter = _x11_image_converter, 485 .x_converter = _x11_image_converter,
486 .x_notify = _x11_notify_handler_image, 486 .x_data_preparer = _x11_data_preparer_image,
487#endif 487#endif
488 }, 488 },
489 ARRAYINIT(CNP_ATOM_image_jpeg) { 489 ARRAYINIT(CNP_ATOM_image_jpeg) {
@@ -491,7 +491,7 @@ static Cnp_Atom _atoms[CNP_N_ATOMS] = {
491 .formats = ELM_SEL_FORMAT_IMAGE, 491 .formats = ELM_SEL_FORMAT_IMAGE,
492#ifdef HAVE_ELEMENTARY_X 492#ifdef HAVE_ELEMENTARY_X
493 .x_converter = _x11_image_converter, 493 .x_converter = _x11_image_converter,
494 .x_notify = _x11_notify_handler_image, 494 .x_data_preparer = _x11_data_preparer_image,
495#endif 495#endif
496 }, 496 },
497 ARRAYINIT(CNP_ATOM_image_bmp) { 497 ARRAYINIT(CNP_ATOM_image_bmp) {
@@ -499,7 +499,7 @@ static Cnp_Atom _atoms[CNP_N_ATOMS] = {
499 .formats = ELM_SEL_FORMAT_IMAGE, 499 .formats = ELM_SEL_FORMAT_IMAGE,
500#ifdef HAVE_ELEMENTARY_X 500#ifdef HAVE_ELEMENTARY_X
501 .x_converter = _x11_image_converter, 501 .x_converter = _x11_image_converter,
502 .x_notify = _x11_notify_handler_image, 502 .x_data_preparer = _x11_data_preparer_image,
503#endif 503#endif
504 }, 504 },
505 ARRAYINIT(CNP_ATOM_image_gif) { 505 ARRAYINIT(CNP_ATOM_image_gif) {
@@ -507,7 +507,7 @@ static Cnp_Atom _atoms[CNP_N_ATOMS] = {
507 .formats = ELM_SEL_FORMAT_IMAGE, 507 .formats = ELM_SEL_FORMAT_IMAGE,
508#ifdef HAVE_ELEMENTARY_X 508#ifdef HAVE_ELEMENTARY_X
509 .x_converter = _x11_image_converter, 509 .x_converter = _x11_image_converter,
510 .x_notify = _x11_notify_handler_image, 510 .x_data_preparer = _x11_data_preparer_image,
511#endif 511#endif
512 }, 512 },
513 ARRAYINIT(CNP_ATOM_image_tiff) { 513 ARRAYINIT(CNP_ATOM_image_tiff) {
@@ -515,7 +515,7 @@ static Cnp_Atom _atoms[CNP_N_ATOMS] = {
515 .formats = ELM_SEL_FORMAT_IMAGE, 515 .formats = ELM_SEL_FORMAT_IMAGE,
516#ifdef HAVE_ELEMENTARY_X 516#ifdef HAVE_ELEMENTARY_X
517 .x_converter = _x11_image_converter, 517 .x_converter = _x11_image_converter,
518 .x_notify = _x11_notify_handler_image, 518 .x_data_preparer = _x11_data_preparer_image,
519#endif 519#endif
520 }, 520 },
521 ARRAYINIT(CNP_ATOM_image_svg) { 521 ARRAYINIT(CNP_ATOM_image_svg) {
@@ -523,7 +523,7 @@ static Cnp_Atom _atoms[CNP_N_ATOMS] = {
523 .formats = ELM_SEL_FORMAT_IMAGE, 523 .formats = ELM_SEL_FORMAT_IMAGE,
524#ifdef HAVE_ELEMENTARY_X 524#ifdef HAVE_ELEMENTARY_X
525 .x_converter = _x11_image_converter, 525 .x_converter = _x11_image_converter,
526 .x_notify = _x11_notify_handler_image, 526 .x_data_preparer = _x11_data_preparer_image,
527#endif 527#endif
528 }, 528 },
529 ARRAYINIT(CNP_ATOM_image_xpm) { 529 ARRAYINIT(CNP_ATOM_image_xpm) {
@@ -531,7 +531,7 @@ static Cnp_Atom _atoms[CNP_N_ATOMS] = {
531 .formats = ELM_SEL_FORMAT_IMAGE, 531 .formats = ELM_SEL_FORMAT_IMAGE,
532#ifdef HAVE_ELEMENTARY_X 532#ifdef HAVE_ELEMENTARY_X
533 .x_converter = _x11_image_converter, 533 .x_converter = _x11_image_converter,
534 .x_notify = _x11_notify_handler_image, 534 .x_data_preparer = _x11_data_preparer_image,
535#endif 535#endif
536 }, 536 },
537 ARRAYINIT(CNP_ATOM_image_tga) { 537 ARRAYINIT(CNP_ATOM_image_tga) {
@@ -539,7 +539,7 @@ static Cnp_Atom _atoms[CNP_N_ATOMS] = {
539 .formats = ELM_SEL_FORMAT_IMAGE, 539 .formats = ELM_SEL_FORMAT_IMAGE,
540#ifdef HAVE_ELEMENTARY_X 540#ifdef HAVE_ELEMENTARY_X
541 .x_converter = _x11_image_converter, 541 .x_converter = _x11_image_converter,
542 .x_notify = _x11_notify_handler_image, 542 .x_data_preparer = _x11_data_preparer_image,
543#endif 543#endif
544 }, 544 },
545 ARRAYINIT(CNP_ATOM_image_ppm) { 545 ARRAYINIT(CNP_ATOM_image_ppm) {
@@ -547,7 +547,7 @@ static Cnp_Atom _atoms[CNP_N_ATOMS] = {
547 .formats = ELM_SEL_FORMAT_IMAGE, 547 .formats = ELM_SEL_FORMAT_IMAGE,
548#ifdef HAVE_ELEMENTARY_X 548#ifdef HAVE_ELEMENTARY_X
549 .x_converter = _x11_image_converter, 549 .x_converter = _x11_image_converter,
550 .x_notify = _x11_notify_handler_image, 550 .x_data_preparer = _x11_data_preparer_image,
551#endif 551#endif
552 }, 552 },
553/* 553/*
@@ -573,7 +573,7 @@ static Cnp_Atom _atoms[CNP_N_ATOMS] = {
573 .formats = ELM_SEL_FORMAT_TEXT | ELM_SEL_FORMAT_MARKUP | ELM_SEL_FORMAT_HTML, 573 .formats = ELM_SEL_FORMAT_TEXT | ELM_SEL_FORMAT_MARKUP | ELM_SEL_FORMAT_HTML,
574#ifdef HAVE_ELEMENTARY_X 574#ifdef HAVE_ELEMENTARY_X
575 .x_converter = _x11_text_converter, 575 .x_converter = _x11_text_converter,
576 .x_notify = _x11_notify_handler_text, 576 .x_data_preparer = _x11_data_preparer_text,
577#endif 577#endif
578 }, 578 },
579 ARRAYINIT(CNP_ATOM_STRING) { 579 ARRAYINIT(CNP_ATOM_STRING) {
@@ -581,7 +581,7 @@ static Cnp_Atom _atoms[CNP_N_ATOMS] = {
581 .formats = ELM_SEL_FORMAT_TEXT | ELM_SEL_FORMAT_MARKUP | ELM_SEL_FORMAT_HTML, 581 .formats = ELM_SEL_FORMAT_TEXT | ELM_SEL_FORMAT_MARKUP | ELM_SEL_FORMAT_HTML,
582#ifdef HAVE_ELEMENTARY_X 582#ifdef HAVE_ELEMENTARY_X
583 .x_converter = _x11_text_converter, 583 .x_converter = _x11_text_converter,
584 .x_notify = _x11_notify_handler_text, 584 .x_data_preparer = _x11_data_preparer_text,
585#endif 585#endif
586 }, 586 },
587 ARRAYINIT(CNP_ATOM_COMPOUND_TEXT) { 587 ARRAYINIT(CNP_ATOM_COMPOUND_TEXT) {
@@ -589,7 +589,7 @@ static Cnp_Atom _atoms[CNP_N_ATOMS] = {
589 .formats = ELM_SEL_FORMAT_TEXT | ELM_SEL_FORMAT_MARKUP | ELM_SEL_FORMAT_HTML, 589 .formats = ELM_SEL_FORMAT_TEXT | ELM_SEL_FORMAT_MARKUP | ELM_SEL_FORMAT_HTML,
590#ifdef HAVE_ELEMENTARY_X 590#ifdef HAVE_ELEMENTARY_X
591 .x_converter = _x11_text_converter, 591 .x_converter = _x11_text_converter,
592 .x_notify = _x11_notify_handler_text, 592 .x_data_preparer = _x11_data_preparer_text,
593#endif 593#endif
594 }, 594 },
595 ARRAYINIT(CNP_ATOM_TEXT) { 595 ARRAYINIT(CNP_ATOM_TEXT) {
@@ -597,7 +597,7 @@ static Cnp_Atom _atoms[CNP_N_ATOMS] = {
597 .formats = ELM_SEL_FORMAT_TEXT | ELM_SEL_FORMAT_MARKUP | ELM_SEL_FORMAT_HTML, 597 .formats = ELM_SEL_FORMAT_TEXT | ELM_SEL_FORMAT_MARKUP | ELM_SEL_FORMAT_HTML,
598#ifdef HAVE_ELEMENTARY_X 598#ifdef HAVE_ELEMENTARY_X
599 .x_converter = _x11_text_converter, 599 .x_converter = _x11_text_converter,
600 .x_notify = _x11_notify_handler_text, 600 .x_data_preparer = _x11_data_preparer_text,
601#endif 601#endif
602 }, 602 },
603 ARRAYINIT(CNP_ATOM_text_plain_utf8) { 603 ARRAYINIT(CNP_ATOM_text_plain_utf8) {
@@ -605,7 +605,7 @@ static Cnp_Atom _atoms[CNP_N_ATOMS] = {
605 .formats = ELM_SEL_FORMAT_TEXT | ELM_SEL_FORMAT_MARKUP | ELM_SEL_FORMAT_HTML, 605 .formats = ELM_SEL_FORMAT_TEXT | ELM_SEL_FORMAT_MARKUP | ELM_SEL_FORMAT_HTML,
606#ifdef HAVE_ELEMENTARY_X 606#ifdef HAVE_ELEMENTARY_X
607 .x_converter = _x11_text_converter, 607 .x_converter = _x11_text_converter,
608 .x_notify = _x11_notify_handler_text, 608 .x_data_preparer = _x11_data_preparer_text,
609#endif 609#endif
610 }, 610 },
611 ARRAYINIT(CNP_ATOM_text_plain) { 611 ARRAYINIT(CNP_ATOM_text_plain) {
@@ -613,7 +613,7 @@ static Cnp_Atom _atoms[CNP_N_ATOMS] = {
613 .formats = ELM_SEL_FORMAT_TEXT | ELM_SEL_FORMAT_MARKUP | ELM_SEL_FORMAT_HTML, 613 .formats = ELM_SEL_FORMAT_TEXT | ELM_SEL_FORMAT_MARKUP | ELM_SEL_FORMAT_HTML,
614#ifdef HAVE_ELEMENTARY_X 614#ifdef HAVE_ELEMENTARY_X
615 .x_converter = _x11_text_converter, 615 .x_converter = _x11_text_converter,
616 .x_notify = _x11_notify_handler_text, 616 .x_data_preparer = _x11_data_preparer_text,
617#endif 617#endif
618 }, 618 },
619}; 619};
@@ -765,14 +765,14 @@ _x11_selection_notify(void *udata EINA_UNUSED, int type EINA_UNUSED, void *event
765 { 765 {
766 if (!strcmp(ev->target, _atoms[i].name)) 766 if (!strcmp(ev->target, _atoms[i].name))
767 { 767 {
768 if (_atoms[i].x_notify) 768 if (_atoms[i].x_data_preparer)
769 { 769 {
770 Elm_Selection_Data ddata; 770 Elm_Selection_Data ddata;
771 Tmp_Info *tmp_info = NULL; 771 Tmp_Info *tmp_info = NULL;
772 Eina_Bool success; 772 Eina_Bool success;
773 ddata.data = NULL; 773 ddata.data = NULL;
774 cnp_debug("Found something: %s\n", _atoms[i].name); 774 cnp_debug("Found something: %s\n", _atoms[i].name);
775 success = _atoms[i].x_notify(ev, &ddata, &tmp_info); 775 success = _atoms[i].x_data_preparer(ev, &ddata, &tmp_info);
776 if (_atoms[i].formats == ELM_SEL_FORMAT_IMAGE && savedtypes.imgfile) break; 776 if (_atoms[i].formats == ELM_SEL_FORMAT_IMAGE && savedtypes.imgfile) break;
777 if (ev->selection == ECORE_X_SELECTION_XDND) 777 if (ev->selection == ECORE_X_SELECTION_XDND)
778 { 778 {
@@ -928,7 +928,7 @@ _x11_notify_handler_targets(X11_Cnp_Selection *sel, Ecore_X_Event_Selection_Noti
928 if (!(_atoms[j].formats & sel->requestformat)) continue; 928 if (!(_atoms[j].formats & sel->requestformat)) continue;
929 for (i = 0; i < targets->data.length; i++) 929 for (i = 0; i < targets->data.length; i++)
930 { 930 {
931 if ((_atoms[j].x_atom == atomlist[i]) && (_atoms[j].x_notify)) 931 if ((_atoms[j].x_atom == atomlist[i]) && (_atoms[j].x_data_preparer))
932 { 932 {
933 if ((j == CNP_ATOM_text_uri) || 933 if ((j == CNP_ATOM_text_uri) ||
934 (j == CNP_ATOM_text_urilist)) 934 (j == CNP_ATOM_text_urilist))
@@ -950,7 +950,7 @@ done:
950} 950}
951 951
952static Eina_Bool 952static Eina_Bool
953_x11_notify_handler_text(Ecore_X_Event_Selection_Notify *notify, 953_x11_data_preparer_text(Ecore_X_Event_Selection_Notify *notify,
954 Elm_Selection_Data *ddata, Tmp_Info **tmp_info EINA_UNUSED) 954 Elm_Selection_Data *ddata, Tmp_Info **tmp_info EINA_UNUSED)
955{ 955{
956 Ecore_X_Selection_Data *data = notify->data; 956 Ecore_X_Selection_Data *data = notify->data;
@@ -964,7 +964,7 @@ _x11_notify_handler_text(Ecore_X_Event_Selection_Notify *notify,
964 * So someone is pasting an image into my entry or widget... 964 * So someone is pasting an image into my entry or widget...
965 */ 965 */
966static Eina_Bool 966static Eina_Bool
967_x11_notify_handler_uri(Ecore_X_Event_Selection_Notify *notify, 967_x11_data_preparer_uri(Ecore_X_Event_Selection_Notify *notify,
968 Elm_Selection_Data *ddata, Tmp_Info **tmp_info EINA_UNUSED) 968 Elm_Selection_Data *ddata, Tmp_Info **tmp_info EINA_UNUSED)
969{ 969{
970 Ecore_X_Selection_Data *data; 970 Ecore_X_Selection_Data *data;
@@ -1096,7 +1096,7 @@ _x11_notify_handler_uri(Ecore_X_Event_Selection_Notify *notify,
1096 * Just received an vcard, either through cut and paste, or dnd. 1096 * Just received an vcard, either through cut and paste, or dnd.
1097 */ 1097 */
1098static Eina_Bool 1098static Eina_Bool
1099_x11_vcard_receive(Ecore_X_Event_Selection_Notify *notify, 1099_x11_data_preparer_vcard(Ecore_X_Event_Selection_Notify *notify,
1100 Elm_Selection_Data *ddata, Tmp_Info **tmp_info EINA_UNUSED) 1100 Elm_Selection_Data *ddata, Tmp_Info **tmp_info EINA_UNUSED)
1101{ 1101{
1102 cnp_debug("vcard receive\n"); 1102 cnp_debug("vcard receive\n");
@@ -1108,7 +1108,7 @@ _x11_vcard_receive(Ecore_X_Event_Selection_Notify *notify,
1108} 1108}
1109 1109
1110static Eina_Bool 1110static Eina_Bool
1111_x11_notify_handler_image(Ecore_X_Event_Selection_Notify *notify, 1111_x11_data_preparer_image(Ecore_X_Event_Selection_Notify *notify,
1112 Elm_Selection_Data *ddata, Tmp_Info **tmp_info) 1112 Elm_Selection_Data *ddata, Tmp_Info **tmp_info)
1113{ 1113{
1114 Ecore_X_Selection_Data *data = notify->data; 1114 Ecore_X_Selection_Data *data = notify->data;