[mutter] wayland: Make WaylandEventSource private
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] wayland: Make WaylandEventSource private
- Date: Wed, 8 Oct 2014 03:58:09 +0000 (UTC)
commit 354cc466af2ccd132fe6de5c1db58e000a92304b
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Oct 7 20:50:57 2014 -0700
wayland: Make WaylandEventSource private
src/wayland/meta-wayland-private.h | 7 -------
src/wayland/meta-wayland.c | 7 +++++++
2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/wayland/meta-wayland-private.h b/src/wayland/meta-wayland-private.h
index 0e7c083..446452f 100644
--- a/src/wayland/meta-wayland-private.h
+++ b/src/wayland/meta-wayland-private.h
@@ -35,13 +35,6 @@
typedef struct
{
- GSource source;
- GPollFD pfd;
- struct wl_display *display;
-} WaylandEventSource;
-
-typedef struct
-{
struct wl_list link;
struct wl_resource *resource;
} MetaWaylandFrameCallback;
diff --git a/src/wayland/meta-wayland.c b/src/wayland/meta-wayland.c
index 5b61762..821e1be 100644
--- a/src/wayland/meta-wayland.c
+++ b/src/wayland/meta-wayland.c
@@ -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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]