e_main: de-e_comp_get()ify

This commit is contained in:
Stefan Schmidt 2015-01-23 13:43:07 +01:00
parent fe024b561b
commit eccf163aa8
1 changed files with 1 additions and 1 deletions

View File

@ -1740,7 +1740,7 @@ _e_main_cb_x_flusher(void *data __UNUSED__)
{
eet_clearcache();
#ifndef HAVE_WAYLAND_ONLY
if (e_comp_get(NULL)->comp_type == E_PIXMAP_TYPE_X)
if (e_comp->comp_type == E_PIXMAP_TYPE_X)
ecore_x_flush();
#endif
return ECORE_CALLBACK_RENEW;