Elementary Win: make elm_win_xwindow_get works to widget items

With that elm test Cursor 2 will work again.


SVN revision: 64396
This commit is contained in:
Bruno Dilly 2011-10-25 19:33:42 +00:00
parent ba1d2ac288
commit de619a0bb8
1 changed files with 1 additions and 2 deletions

View File

@ -2638,8 +2638,7 @@ elm_win_xwindow_get(const Evas_Object *obj)
if (!obj) return 0;
type = elm_widget_type_get(obj);
if (!type) return 0;
if (type != widtype) return _elm_ee_win_get(obj);
if ((!type) || (type != widtype)) return _elm_ee_win_get(obj);
#ifdef HAVE_ELEMENTARY_X
win = elm_widget_data_get(obj);
if (!win) return 0;