forked from enlightenment/efl
parent
bddbbbb8a5
commit
a8838b698e
|
@ -971,7 +971,7 @@ EAPI void ecore_x_dnd_type_get_prefetch(Ecore_X_Window window);
|
|||
EAPI void ecore_x_dnd_type_get_fetch(void);
|
||||
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, char **types, unsigned int num_types);
|
||||
EAPI void ecore_x_dnd_types_set(Ecore_X_Window win, const char **types, unsigned int num_types);
|
||||
EAPI void ecore_x_dnd_actions_set(Ecore_X_Window win, Ecore_X_Atom *actions, unsigned int num_actions);
|
||||
EAPI void ecore_x_dnd_begin_prefetch(Ecore_X_Window source);
|
||||
EAPI void ecore_x_dnd_begin_fetch(void);
|
||||
|
|
|
@ -354,7 +354,7 @@ ecore_x_dnd_type_set(Ecore_X_Window window,
|
|||
*/
|
||||
EAPI void
|
||||
ecore_x_dnd_types_set(Ecore_X_Window window,
|
||||
char **types,
|
||||
const char **types,
|
||||
unsigned int num_types)
|
||||
{
|
||||
Ecore_X_Atom *newset = NULL;
|
||||
|
|
|
@ -80,7 +80,7 @@ _ecore_x_dnd_shutdown(void)
|
|||
}
|
||||
|
||||
static int
|
||||
_ecore_x_dnd_converter_copy(char *target, void *data, int size, void **data_ret, int *size_ret)
|
||||
_ecore_x_dnd_converter_copy(char *target __UNUSED__, void *data, int size, void **data_ret, int *size_ret)
|
||||
{
|
||||
XTextProperty text_prop;
|
||||
char *mystr;
|
||||
|
@ -95,7 +95,7 @@ _ecore_x_dnd_converter_copy(char *target, void *data, int size, void **data_ret,
|
|||
|
||||
if (XmbTextListToTextProperty(_ecore_x_disp, &mystr, 1, style, &text_prop) == Success)
|
||||
{
|
||||
int bufsize = strlen(text_prop.value) + 1;
|
||||
int bufsize = strlen((char *)text_prop.value) + 1;
|
||||
*data_ret = malloc(bufsize);
|
||||
memcpy(*data_ret, text_prop.value, bufsize);
|
||||
*size_ret = bufsize;
|
||||
|
@ -260,7 +260,7 @@ 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, char **types, unsigned int num_types)
|
||||
ecore_x_dnd_types_set(Ecore_X_Window win, const char **types, unsigned int num_types)
|
||||
{
|
||||
Ecore_X_Atom *newset = NULL;
|
||||
unsigned int i;
|
||||
|
|
Loading…
Reference in New Issue