projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0d548d
)
elm win: Place ifdef to a proper place. Initialize variable.
author
Daniel Juyung Seo
<seojuyung2@gmail.com>
Wed, 30 May 2012 04:57:31 +0000
(
04:57
+0000)
committer
Daniel Juyung Seo
<seojuyung2@gmail.com>
Wed, 30 May 2012 04:57:31 +0000
(
04:57
+0000)
SVN revision: 71529
src/lib/elm_win.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_win.c
b/src/lib/elm_win.c
index
d596dcd
..
f2f323f
100644
(file)
--- a/
src/lib/elm_win.c
+++ b/
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))
{