aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/lib/elm_win.c
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2012-05-30 04:57:31 +0000
committerDaniel Juyung Seo <seojuyung2@gmail.com>2012-05-30 04:57:31 +0000
commit7ee29032754a7535de9bbade49b3688154cc9cff (patch)
treedc580b394d4ffb0ffdd71cba5cd69041b1c7359b /legacy/elementary/src/lib/elm_win.c
parentelm genlist: Use EINA_SAFETY_ON_TRUE_RETURN for nicely warn user. (diff)
downloadefl-7ee29032754a7535de9bbade49b3688154cc9cff.tar.gz
elm win: Place ifdef to a proper place. Initialize variable.
SVN revision: 71529
Diffstat (limited to 'legacy/elementary/src/lib/elm_win.c')
-rw-r--r--legacy/elementary/src/lib/elm_win.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c
index d596dcd63f..f2f323f2d1 100644
--- a/legacy/elementary/src/lib/elm_win.c
+++ b/legacy/elementary/src/lib/elm_win.c
@@ -1255,10 +1255,10 @@ _elm_win_delete_request(Ecore_Evas *ee)
static Ecore_X_Window
_elm_ee_xwin_get(const Ecore_Evas *ee)
{
- Ecore_X_Window xwin;
+#ifdef HAVE_ELEMENTARY_X
+ Ecore_X_Window xwin = 0;
if (!ee) return 0;
-#ifdef HAVE_ELEMENTARY_X
#define ENGINE_COMPARE(name) (!strcmp(_elm_preferred_engine, name))
if (ENGINE_COMPARE(ELM_SOFTWARE_X11))
{