wayland: Make WaylandEventSource private

This commit is contained in:
Jasper St. Pierre 2014-10-07 20:50:57 -07:00
parent 9f5c38d121
commit 354cc466af
2 changed files with 7 additions and 7 deletions

View File

@ -33,13 +33,6 @@
#include "meta-wayland-surface.h"
#include "meta-wayland-seat.h"
typedef struct
{
GSource source;
GPollFD pfd;
struct wl_display *display;
} WaylandEventSource;
typedef struct
{
struct wl_list link;

View File

@ -56,6 +56,13 @@ get_time (void)
return tv.tv_sec * 1000 + tv.tv_usec / 1000;
}
typedef struct
{
GSource source;
GPollFD pfd;
struct wl_display *display;
} WaylandEventSource;
static gboolean
wayland_event_source_prepare (GSource *base, int *timeout)
{