diff --git a/legacy/ecore/src/lib/ecore_x/Ecore_X.h b/legacy/ecore/src/lib/ecore_x/Ecore_X.h index 72904b1c2f..389c8f1181 100644 --- a/legacy/ecore/src/lib/ecore_x/Ecore_X.h +++ b/legacy/ecore/src/lib/ecore_x/Ecore_X.h @@ -986,7 +986,7 @@ EAPI void ecore_x_dnd_aware_set(Ecore_X_Window win, int on); EAPI int ecore_x_dnd_version_get(Ecore_X_Window win); EAPI int ecore_x_dnd_type_isset(Ecore_X_Window win, const char *type); EAPI void ecore_x_dnd_type_set(Ecore_X_Window win, const char *type, int on); -EAPI void ecore_x_dnd_types_set(Ecore_X_Window win, const char **types, unsigned int num_types); +EAPI void ecore_x_dnd_types_set(Ecore_X_Window win, char **types, unsigned int num_types); EAPI int ecore_x_dnd_begin(Ecore_X_Window source, unsigned char *data, int size); EAPI void ecore_x_dnd_drop(void); EAPI void ecore_x_dnd_send_status(int will_accept, int suppress, Ecore_X_Rectangle rectangle, Ecore_X_Atom action); diff --git a/legacy/ecore/src/lib/ecore_x/ecore_x_dnd.c b/legacy/ecore/src/lib/ecore_x/ecore_x_dnd.c index 7985055478..748e367de5 100644 --- a/legacy/ecore/src/lib/ecore_x/ecore_x_dnd.c +++ b/legacy/ecore/src/lib/ecore_x/ecore_x_dnd.c @@ -163,7 +163,7 @@ ecore_x_dnd_type_set(Ecore_X_Window win, const char *type, int on) } void -ecore_x_dnd_types_set(Ecore_X_Window win, const char **types, unsigned int num_types) +ecore_x_dnd_types_set(Ecore_X_Window win, char **types, unsigned int num_types) { Ecore_X_Atom *newset = NULL; int i;