wayland: Remove unused function

The function force_roundtrip was unused and required API that was
removed from Wayland.

Reviewed-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:
Rob Bradford 2011-11-01 17:43:00 +00:00 committed by Robert Bragg
parent 061ef6ed06
commit 00ca539845

View File

@ -333,24 +333,6 @@ event_mask_update_cb (uint32_t mask, void *user_data)
return 0; return 0;
} }
static void
sync_callback(void *data)
{
int *done = data;
*done = 1;
}
static void
force_roundtrip(struct wl_display *display)
{
int done = 0;
wl_display_sync_callback(display, sync_callback, &done);
wl_display_iterate(display, WL_DISPLAY_WRITABLE);
while (!done)
wl_display_iterate(display, WL_DISPLAY_READABLE);
}
#endif #endif
/* Updates all the function pointers */ /* Updates all the function pointers */