summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiwoong Im <jiwoong.im@samsung.com>2016-10-13 05:20:07 (GMT)
committerJiwoong Im <jiwoong.im@samsung.com>2016-10-13 05:32:24 (GMT)
commitef6c05ee2004a78702ccabf4c85b3c6657202e07 (patch)
tree19fcac5fb69257ca6ed1b00f084d241f7b2ae995
parent53e849943b852a6e2ecad3b040654162f195d98c (diff)
downloadui-gadget-1-ef6c05ee2004a78702ccabf4c85b3c6657202e07.zip
ui-gadget-1-ef6c05ee2004a78702ccabf4c85b3c6657202e07.tar.gz
ui-gadget-1-ef6c05ee2004a78702ccabf4c85b3c6657202e07.tar.bz2
Change-Id: I61668c2c24e8f8b70ea19a7fb2bd679b500f0187 Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
-rw-r--r--include/ug-manager.h4
-rw-r--r--include/ui-gadget.h11
2 files changed, 4 insertions, 11 deletions
diff --git a/include/ug-manager.h b/include/ug-manager.h
index 133b6ab..27126e7 100644
--- a/include/ug-manager.h
+++ b/include/ug-manager.h
@@ -22,6 +22,10 @@
#ifndef __UG_MANAGER_H__
#define __UG_MANAGER_H__
+#ifndef UG_WAYLAND
+#include <X11/Xlib.h>
+#endif
+
#include <Evas.h>
#include "ug.h"
diff --git a/include/ui-gadget.h b/include/ui-gadget.h
index d3fbcbf..8e16be8 100644
--- a/include/ui-gadget.h
+++ b/include/ui-gadget.h
@@ -54,9 +54,6 @@
* @addtogroup UI_Gadget_For_User
* @{
*/
-#ifndef UG_WAYLAND
-#include <X11/Xlib.h>
-#endif
#include <Evas.h>
#include <app.h>
@@ -172,14 +169,6 @@ struct ug_cbs {
int UG_INIT_EFL(void *win, enum ug_option opt);
/**
- * Easy-to-use macro of ug_init() for GTK
- * @see ug_init()
- */
-#define UG_INIT_GTK(win, opt) \
- win ? ug_init(gdk_display_get_default(), win, \
- GDK_WINDOW_XWINDOW(GTK_WIDGET(win)->window), win, opt) : -1
-
-/**
* \par Description:
* This function initializes default window, display, xwindow id, and indicator state.
*