summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-04-14 17:34:43 +0200
committerChristopher Michael <devilhorns@comcast.net>2020-04-14 11:59:44 -0400
commitbb2327017fb79f88c3cb52da24f82e664c64377e (patch)
tree1cfbd353c46794eab439307b6ee8b3cda22bd3a7
parent24219081c697a7badf59c460476fdcd66c67f711 (diff)
ecore_evas_x: fix typo'ed function name
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Reviewed-by: Christopher Michael <devilhorns@comcast.net> Differential Revision: https://phab.enlightenment.org/D11705
-rw-r--r--src/modules/ecore_evas/engines/x/ecore_evas_x.c10
1 files changed, 5 insertions, 5 deletions
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 1a0ae1f4b8..39cef2d608 100644
--- a/src/modules/ecore_evas/engines/x/ecore_evas_x.c
+++ b/src/modules/ecore_evas/engines/x/ecore_evas_x.c
@@ -3850,7 +3850,7 @@ _search_fitting_type_from_event(Ecore_Evas *ee, Ecore_Evas_Engine_Data_X11 *edat
3850} 3850}
3851 3851
3852static Eina_Content* 3852static Eina_Content*
3853_create_deliveriy_content(unsigned long int size, const void *mem, const char *mime_type) 3853_create_delivery_content(unsigned long int size, const void *mem, const char *mime_type)
3854{ 3854{
3855 Eina_Content *content; 3855 Eina_Content *content;
3856 3856
@@ -3890,7 +3890,7 @@ _deliver_content(Ecore_Evas *ee, Ecore_Evas_Engine_Data_X11 *edata, Ecore_Evas_S
3890 if (i < (files->num_files - 1)) 3890 if (i < (files->num_files - 1))
3891 eina_strbuf_append(strbuf, "\n"); 3891 eina_strbuf_append(strbuf, "\n");
3892 } 3892 }
3893 result = _create_deliveriy_content(eina_strbuf_length_get(strbuf) + 1, eina_strbuf_string_get(strbuf), mime_type); 3893 result = _create_delivery_content(eina_strbuf_length_get(strbuf) + 1, eina_strbuf_string_get(strbuf), mime_type);
3894 eina_strbuf_free(strbuf); 3894 eina_strbuf_free(strbuf);
3895 } 3895 }
3896 else if (eina_str_has_prefix(mime_type,"text")) 3896 else if (eina_str_has_prefix(mime_type,"text"))
@@ -3899,7 +3899,7 @@ _deliver_content(Ecore_Evas *ee, Ecore_Evas_Engine_Data_X11 *edata, Ecore_Evas_S
3899 //ensure that we always have a \0 at the end, there is no assertion that \0 is included here. 3899 //ensure that we always have a \0 at the end, there is no assertion that \0 is included here.
3900 void *null_terminated = eina_memdup(x11_data->data, x11_data->length, EINA_TRUE); 3900 void *null_terminated = eina_memdup(x11_data->data, x11_data->length, EINA_TRUE);
3901 3901
3902 result = _create_deliveriy_content(x11_data->length + 1, null_terminated, mime_type); 3902 result = _create_delivery_content(x11_data->length + 1, null_terminated, mime_type);
3903 free(null_terminated); 3903 free(null_terminated);
3904 } 3904 }
3905 else if (eina_str_has_prefix(mime_type,"image")) 3905 else if (eina_str_has_prefix(mime_type,"image"))
@@ -3908,13 +3908,13 @@ _deliver_content(Ecore_Evas *ee, Ecore_Evas_Engine_Data_X11 *edata, Ecore_Evas_S
3908 Eina_Content *tmp_container = eina_content_new((Eina_Slice){.len = x11_data->length, .mem = x11_data->data}, mime_type); 3908 Eina_Content *tmp_container = eina_content_new((Eina_Slice){.len = x11_data->length, .mem = x11_data->data}, mime_type);
3909 const char *file = eina_content_as_file(tmp_container); 3909 const char *file = eina_content_as_file(tmp_container);
3910 3910
3911 result = _create_deliveriy_content(strlen(file), file, mime_type); 3911 result = _create_delivery_content(strlen(file), file, mime_type);
3912 eina_content_free(tmp_container); 3912 eina_content_free(tmp_container);
3913 } 3913 }
3914 else 3914 else
3915 { 3915 {
3916 Ecore_X_Selection_Data *x11_data = ev->data; 3916 Ecore_X_Selection_Data *x11_data = ev->data;
3917 result = _create_deliveriy_content(x11_data->length, x11_data->data, mime_type); 3917 result = _create_delivery_content(x11_data->length, x11_data->data, mime_type);
3918 } 3918 }
3919 EINA_SAFETY_ON_NULL_GOTO(result, err); 3919 EINA_SAFETY_ON_NULL_GOTO(result, err);
3920 3920