elm win: Place ifdef to a proper place. Initialize variable.

SVN revision: 71529
This commit is contained in:
Daniel Juyung Seo 2012-05-30 04:57:31 +00:00
parent 2f1dfc108e
commit 7ee2903275
1 changed files with 2 additions and 2 deletions

View File

@ -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))
{