E Comp (wayland): Remove unused function.
authorChristopher Michael <cpmichael1@comcast.net>
Mon, 23 Jan 2012 12:35:42 +0000 (12:35 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Mon, 23 Jan 2012 12:35:42 +0000 (12:35 +0000)
SVN revision: 67469

src/modules/comp/e_mod_comp_wl_output.c

index 627d4ad..63d0b45 100644 (file)
@@ -16,7 +16,6 @@ static void _e_mod_comp_wl_output_pending_scanout_buffer_destroy(struct wl_liste
 static int _e_mod_comp_wl_output_finish_frame_handler(void *data);
 static void _e_mod_comp_wl_output_finish_frame(Wayland_Output *output, int secs);
 static void _e_mod_comp_wl_output_repaint(Wayland_Output *output, int secs);
-static void _e_mod_comp_wl_output_schedule_repaint(void);
 static Eina_Bool _e_mod_comp_wl_output_setup_scanout_surface(Wayland_Output *output, Wayland_Surface *ws);
 static int _e_mod_comp_wl_output_prepare_render(Wayland_Output *output);
 static int _e_mod_comp_wl_output_present(Wayland_Output *output);
@@ -376,20 +375,6 @@ _e_mod_comp_wl_output_repaint(Wayland_Output *output, int secs)
    /* TODO: Handle animations */
 }
 
-static void 
-_e_mod_comp_wl_output_schedule_repaint(void)
-{
-   struct wl_event_loop *loop;
-
-   LOGFN(__FILE__, __LINE__, __FUNCTION__);
-
-   loop = wl_display_get_event_loop(_wl_disp);
-   _wl_output->repaint_needed = EINA_TRUE;
-   if (_wl_output->repaint_scheduled) return;
-   wl_event_loop_add_idle(loop, e_mod_comp_wl_output_idle_repaint, _wl_output);
-   _wl_output->repaint_scheduled = EINA_TRUE;
-}
-
 static Eina_Bool 
 _e_mod_comp_wl_output_setup_scanout_surface(Wayland_Output *output, Wayland_Surface *ws)
 {