summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2020-03-03 13:10:49 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-03-08 11:01:24 +0100
commit7a79e15ea3c808b92482dbdecb294c6cf3212f91 (patch)
tree25a2ae36b47829bdd0d6062ff129f701b77cccec /src/modules
parent8b25bc41b33cf366ef068b04cc3de55b76310891 (diff)
ecore_evas: Use EFL naming convention in cnp & dnd methods
Some methods were missing the "Drag" or "Selection" namespaces or the _Cb suffix. Depends on D11219 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11426
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c2
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c6
-rw-r--r--src/modules/ecore_evas/engines/win32/ecore_evas_win32.c2
-rw-r--r--src/modules/ecore_evas/engines/x/ecore_evas_x.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c b/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c
index 3352efb135..c8e2895358 100644
--- a/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c
+++ b/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c
@@ -458,7 +458,7 @@ end:
458} 458}
459 459
460static Eina_Bool 460static Eina_Bool
461_ecore_evas_cocoa_selection_claim(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer selection, Eina_Array *available_types, Ecore_Evas_Internal_Delivery delivery, Ecore_Evas_Internal_Cancel cancel) 461_ecore_evas_cocoa_selection_claim(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer selection, Eina_Array *available_types, Ecore_Evas_Selection_Internal_Delivery delivery, Ecore_Evas_Selection_Internal_Cancel cancel)
462{ 462{
463 if (selection != ECORE_EVAS_SELECTION_BUFFER_COPY_AND_PASTE_BUFFER) 463 if (selection != ECORE_EVAS_SELECTION_BUFFER_COPY_AND_PASTE_BUFFER)
464 return EINA_FALSE; 464 return EINA_FALSE;
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
index d5cb3d8b49..b2bf7c75ec 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
@@ -2421,7 +2421,7 @@ _clear_selection(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer
2421} 2421}
2422 2422
2423static void 2423static void
2424_store_selection_cbs(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer selection, Eina_Array *available_types, Ecore_Evas_Internal_Delivery delivery, Ecore_Evas_Internal_Cancel cancel) 2424_store_selection_cbs(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer selection, Eina_Array *available_types, Ecore_Evas_Selection_Internal_Delivery delivery, Ecore_Evas_Selection_Internal_Cancel cancel)
2425{ 2425{
2426 Ecore_Evas_Wl_Selection_Data *sdata; 2426 Ecore_Evas_Wl_Selection_Data *sdata;
2427 Ecore_Evas_Engine_Wl_Data *edata; 2427 Ecore_Evas_Engine_Wl_Data *edata;
@@ -2449,7 +2449,7 @@ _fetch_input(Ecore_Evas *ee, unsigned int seat)
2449} 2449}
2450 2450
2451static Eina_Bool 2451static Eina_Bool
2452_ecore_evas_wl_selection_claim(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer selection, Eina_Array *available_types, Ecore_Evas_Internal_Delivery delivery, Ecore_Evas_Internal_Cancel cancel) 2452_ecore_evas_wl_selection_claim(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer selection, Eina_Array *available_types, Ecore_Evas_Selection_Internal_Delivery delivery, Ecore_Evas_Selection_Internal_Cancel cancel)
2453{ 2453{
2454 Ecore_Evas_Engine_Wl_Data *wdata = ee->engine.data; 2454 Ecore_Evas_Engine_Wl_Data *wdata = ee->engine.data;
2455 Ecore_Evas_Wl_Selection_Data *data = &wdata->selection_data[selection]; 2455 Ecore_Evas_Wl_Selection_Data *data = &wdata->selection_data[selection];
@@ -2822,7 +2822,7 @@ _ecore_evas_wl_selection_init(Ecore_Evas *ee)
2822} 2822}
2823 2823
2824static Eina_Bool 2824static Eina_Bool
2825_ecore_evas_wl_dnd_start(Ecore_Evas *ee, unsigned int seat, Eina_Array *available_types, Ecore_Evas *drag_rep, Ecore_Evas_Internal_Delivery delivery, Ecore_Evas_Internal_Cancel cancel, const char *action EINA_UNUSED) 2825_ecore_evas_wl_dnd_start(Ecore_Evas *ee, unsigned int seat, Eina_Array *available_types, Ecore_Evas *drag_rep, Ecore_Evas_Selection_Internal_Delivery delivery, Ecore_Evas_Selection_Internal_Cancel cancel, const char *action EINA_UNUSED)
2826{ 2826{
2827 Ecore_Evas_Engine_Wl_Data *wdata = ee->engine.data; 2827 Ecore_Evas_Engine_Wl_Data *wdata = ee->engine.data;
2828 const char *tmp_array[eina_array_count(available_types) + 1]; 2828 const char *tmp_array[eina_array_count(available_types) + 1];
diff --git a/src/modules/ecore_evas/engines/win32/ecore_evas_win32.c b/src/modules/ecore_evas/engines/win32/ecore_evas_win32.c
index d0686c535c..7f6eb98e48 100644
--- a/src/modules/ecore_evas/engines/win32/ecore_evas_win32.c
+++ b/src/modules/ecore_evas/engines/win32/ecore_evas_win32.c
@@ -1232,7 +1232,7 @@ end:
1232} 1232}
1233 1233
1234static Eina_Bool 1234static Eina_Bool
1235_ecore_evas_win32_selection_claim(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer selection, Eina_Array *available_types, Ecore_Evas_Internal_Delivery delivery, Ecore_Evas_Internal_Cancel cancel) 1235_ecore_evas_win32_selection_claim(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer selection, Eina_Array *available_types, Ecore_Evas_Selection_Internal_Delivery delivery, Ecore_Evas_Selection_Internal_Cancel cancel)
1236{ 1236{
1237 if (selection != ECORE_EVAS_SELECTION_BUFFER_COPY_AND_PASTE_BUFFER) 1237 if (selection != ECORE_EVAS_SELECTION_BUFFER_COPY_AND_PASTE_BUFFER)
1238 return EINA_FALSE; 1238 return EINA_FALSE;
diff --git a/src/modules/ecore_evas/engines/x/ecore_evas_x.c b/src/modules/ecore_evas/engines/x/ecore_evas_x.c
index 36afeb5495..11719ee1b1 100644
--- a/src/modules/ecore_evas/engines/x/ecore_evas_x.c
+++ b/src/modules/ecore_evas/engines/x/ecore_evas_x.c
@@ -4281,7 +4281,7 @@ _store_selection_cbs(Ecore_Evas *ee, Ecore_Evas_Selection_Buffer selection, Eina
4281} 4281}
4282 4282
4283static Eina_Bool 4283static Eina_Bool
4284_ecore_evas_x_selection_claim(Ecore_Evas *ee, unsigned int seat EINA_UNUSED, Ecore_Evas_Selection_Buffer selection, Eina_Array *available_types, Ecore_Evas_Internal_Delivery delivery, Ecore_Evas_Internal_Cancel cancel) 4284_ecore_evas_x_selection_claim(Ecore_Evas *ee, unsigned int seat EINA_UNUSED, Ecore_Evas_Selection_Buffer selection, Eina_Array *available_types, Ecore_Evas_Selection_Internal_Delivery delivery, Ecore_Evas_Selection_Internal_Cancel cancel)
4285{ 4285{
4286 Ecore_Evas_X11_Selection_Data *sdata; 4286 Ecore_Evas_X11_Selection_Data *sdata;
4287 Ecore_Evas_Engine_Data_X11 *edata; 4287 Ecore_Evas_Engine_Data_X11 *edata;