stefan pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=eccf163aa85f87f535f3e0b1989c7cf6096a6001

commit eccf163aa85f87f535f3e0b1989c7cf6096a6001
Author: Stefan Schmidt <s.schm...@samsung.com>
Date:   Fri Jan 23 13:43:07 2015 +0100

    e_main: de-e_comp_get()ify
---
 src/bin/e_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_main.c b/src/bin/e_main.c
index 34a11eb..733219d 100644
--- a/src/bin/e_main.c
+++ b/src/bin/e_main.c
@@ -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;

-- 


Reply via email to