summaryrefslogtreecommitdiff
path: root/include/ui-gadget.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ui-gadget.h')
-rw-r--r--include/ui-gadget.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/ui-gadget.h b/include/ui-gadget.h
index 6c34b19..d3fbcbf 100644
--- a/include/ui-gadget.h
+++ b/include/ui-gadget.h
@@ -221,11 +221,7 @@ int UG_INIT_EFL(void *win, enum ug_option opt);
* ...
* \endcode
*/
-#ifndef UG_WAYLAND
-int ug_init(Display *disp, Window xid, void *win, enum ug_option opt);
-#else
-int ug_init(void *win, enum ug_option opt);
-#endif
+int ug_init(void *disp, unsigned long xid, void *win, enum ug_option opt);
/**
* \par Description: