[gtk+] Fix the build



commit 0d00e0c3d3eaea8518080d986208eb0f1b92f355
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Oct 10 14:37:09 2016 -0400

    Fix the build

 gtk/inspector/general.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/inspector/general.c b/gtk/inspector/general.c
index f7f8223..35231b5 100644
--- a/gtk/inspector/general.c
+++ b/gtk/inspector/general.c
@@ -216,7 +216,7 @@ append_egl_extension_row (GtkInspectorGeneral *gen,
 }
 
 static EGLDisplay
-wayland_get_display (GdkWaylandDisplay *display_wayland)
+wayland_get_display (struct wl_display *wl_display)
 {
   EGLDisplay dpy = NULL;
 
@@ -227,7 +227,7 @@ wayland_get_display (GdkWaylandDisplay *display_wayland)
 
       if (getPlatformDisplay)
         dpy = getPlatformDisplay (EGL_PLATFORM_WAYLAND_EXT,
-                                  display_wayland->wl_display,
+                                  wl_display,
                                   NULL);
       if (dpy)
         return dpy;
@@ -240,13 +240,13 @@ wayland_get_display (GdkWaylandDisplay *display_wayland)
 
       if (getPlatformDisplay)
         dpy = getPlatformDisplay (EGL_PLATFORM_WAYLAND_EXT,
-                                  display_wayland->wl_display,
+                                  wl_display,
                                   NULL);
       if (dpy)
         return dpy;
     }
 
-  return eglGetDisplay ((EGLNativeDisplayType) display_wayland->wl_display);
+  return eglGetDisplay ((EGLNativeDisplayType)wl_display);
 }
 #endif
 


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