elm win: Refactoring. Removed unused local variable.

SVN revision: 61934
This commit is contained in:
Daniel Juyung Seo 2011-08-01 06:49:58 +00:00
parent 4879118510
commit 90adda213d
1 changed files with 2 additions and 3 deletions

View File

@ -2557,7 +2557,6 @@ _elm_ee_win_get(const Evas_Object *obj)
EAPI Ecore_X_Window
elm_win_xwindow_get(const Evas_Object *obj)
{
Ecore_X_Window xwin = 0;
Elm_Win *win;
const char *type;
@ -2567,10 +2566,10 @@ elm_win_xwindow_get(const Evas_Object *obj)
if (type != widtype) return _elm_ee_win_get(obj);
#ifdef HAVE_ELEMENTARY_X
win = elm_widget_data_get(obj);
if (!win) return xwin;
if (!win) return 0;
if (win->xwin) return win->xwin;
if (win->parent) return elm_win_xwindow_get(win->parent);
#endif
return xwin;
return 0;
win = NULL;
}