devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=61959106988072835b6a498edfa7c36f316d326c

commit 61959106988072835b6a498edfa7c36f316d326c
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Mon Apr 20 12:14:27 2015 -0400

    Revert "ecore-drm: Remove 'defined but not used' function"
    
    This reverts commit d625167e0707cca3648e9933ef65936043372447.
    
    Reverting this to use #if 0 as suggested by q66
---
 src/lib/ecore_drm/ecore_drm_device.c | 40 ++++++++++++++++++------------------
 1 file changed, 20 insertions(+), 20 deletions(-)

diff --git a/src/lib/ecore_drm/ecore_drm_device.c 
b/src/lib/ecore_drm/ecore_drm_device.c
index abc3e5a..e6a5c00 100644
--- a/src/lib/ecore_drm/ecore_drm_device.c
+++ b/src/lib/ecore_drm/ecore_drm_device.c
@@ -86,26 +86,26 @@ _ecore_drm_device_cb_event(void *data, Ecore_Fd_Handler 
*hdlr EINA_UNUSED)
    return ECORE_CALLBACK_RENEW;
 }
 
-/* static Eina_Bool  */
-/* _ecore_drm_device_cb_idle(void *data) */
-/* { */
-/*    Ecore_Drm_Device *dev; */
-/*    Ecore_Drm_Output *output; */
-/*    Eina_List *l; */
-
-/*    if (!(dev = data)) return ECORE_CALLBACK_CANCEL; */
-
-/*    if (!dev->active) return ECORE_CALLBACK_RENEW; */
-
-/*    EINA_LIST_FOREACH(dev->outputs, l, output) */
-/*      { */
-/*         if ((!output->enabled) || (!output->need_repaint)) continue; */
-/*         if (output->repaint_scheduled) continue; */
-/*         _ecore_drm_output_repaint_start(output); */
-/*      } */
-
-/*    return ECORE_CALLBACK_RENEW; */
-/* } */
+static Eina_Bool 
+_ecore_drm_device_cb_idle(void *data)
+{
+   Ecore_Drm_Device *dev;
+   Ecore_Drm_Output *output;
+   Eina_List *l;
+
+   if (!(dev = data)) return ECORE_CALLBACK_CANCEL;
+
+   if (!dev->active) return ECORE_CALLBACK_RENEW;
+
+   EINA_LIST_FOREACH(dev->outputs, l, output)
+     {
+        if ((!output->enabled) || (!output->need_repaint)) continue;
+        if (output->repaint_scheduled) continue;
+        _ecore_drm_output_repaint_start(output);
+     }
+
+   return ECORE_CALLBACK_RENEW;
+}
 
 static void
 _ecore_drm_device_cb_output_event(const char *device EINA_UNUSED, 
Eeze_Udev_Event event EINA_UNUSED, void *data, Eeze_Udev_Watch *watch 
EINA_UNUSED)

-- 


Reply via email to