Save ourselves a function call and just use the ecore_evas from the gc.

SVN revision: 54053
This commit is contained in:
Christopher Michael 2010-10-30 19:12:48 +00:00
parent a2bf209842
commit ba1b5a0834
1 changed files with 1 additions and 2 deletions

View File

@ -908,8 +908,7 @@ _gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style)
if ((gc->shelf) && (gc->shelf->popup))
inst->win.parent = gc->shelf->popup->evas_win;
else
inst->win.parent = (Ecore_X_Window)
ecore_evas_window_get(ecore_evas_ecore_evas_get(gc->evas));
inst->win.parent = (Ecore_X_Window) ecore_evas_window_get(gc->ecore_evas);
inst->win.base = None;
inst->win.selection = None;