[cogl] fix a /XDisplay/Display/ typo in x11-foreign.c



commit ccd0079b57bee5aa0da0f6a9f4b48561bb9b6264
Author: Robert Bragg <robert linux intel com>
Date:   Thu May 5 20:38:13 2011 +0100

    fix a /XDisplay/Display/ typo in x11-foreign.c
    
    This removes a spurious X prefix that was causing a compilation error.

 examples/x11-foreign.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/examples/x11-foreign.c b/examples/x11-foreign.c
index 7012562..2bf97bc 100644
--- a/examples/x11-foreign.c
+++ b/examples/x11-foreign.c
@@ -10,7 +10,7 @@ update_cogl_x11_event_mask (CoglOnscreen *onscreen,
                             guint32 event_mask,
                             void *user_data)
 {
-  XDisplay *xdpy = user_data;
+  Display *xdpy = user_data;
   XSetWindowAttributes attrs;
   guint32 xwin;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]