e_notification: de-e_comp_get()ify
authorStefan Schmidt <s.schmidt@samsung.com>
Fri, 23 Jan 2015 12:49:09 +0000 (13:49 +0100)
committerStefan Schmidt <s.schmidt@samsung.com>
Fri, 23 Jan 2015 12:49:09 +0000 (13:49 +0100)
src/bin/e_notification.c

index 021ab0c5247b4b86e9c3387ba5ea3f2917042631..ae57eb793221d4416f0731495f689b8209d164dc 100644 (file)
@@ -93,8 +93,8 @@ notify_cb(const Eldbus_Service_Interface *iface EINA_UNUSED, const Eldbus_Messag
    if (e_screensaver_on_get() && e_config->screensaver_wake_on_notify)
      {
         int x, y;
-        ecore_evas_pointer_xy_get(e_comp_get(NULL)->ee, &x, &y);
-        ecore_evas_pointer_warp(e_comp_get(NULL)->ee, x, y);
+        ecore_evas_pointer_xy_get(e_comp->ee, &x, &y);
+        ecore_evas_pointer_warp(e_comp->ee, x, y);
      }
    eldbus_message_iter_dict_iterate(hints_iter, "sv", hints_dict_iter, n);
    n->app_name = eina_stringshare_add(n->app_name);