forked from enlightenment/enlightenment
Save ourselves a function call and just use the ecore_evas from the gc.
SVN revision: 54053
This commit is contained in:
parent
a2bf209842
commit
ba1b5a0834
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue