stefan pushed a commit to branch master.

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

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

    e_mouse: de-e_comp_get()ify
---
 src/bin/e_mouse.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_mouse.c b/src/bin/e_mouse.c
index 2990c24..7cae8ec 100644
--- a/src/bin/e_mouse.c
+++ b/src/bin/e_mouse.c
@@ -7,7 +7,7 @@ e_mouse_update(void)
    int n;
 
 #ifndef HAVE_WAYLAND_ONLY
-   if (e_comp_get(NULL)->comp_type == E_PIXMAP_TYPE_X)
+   if (e_comp->comp_type == E_PIXMAP_TYPE_X)
      {
         if (!ecore_x_pointer_control_set(e_config->mouse_accel_numerator,
                                          e_config->mouse_accel_denominator,
@@ -41,7 +41,7 @@ e_mouse_update(void)
      }
 
 #ifndef HAVE_WAYLAND_ONLY
-   if (e_comp_get(NULL)->comp_type == E_PIXMAP_TYPE_X)
+   if (e_comp->comp_type == E_PIXMAP_TYPE_X)
      if (!ecore_x_pointer_mapping_set(map, n)) return 0;
 #endif
 

-- 


Reply via email to