[gtk+] wayland: Remove unused member from struct



commit a8d03c9970334c3bdbebfede9bca010f607fa4af
Author: Rob Bradford <rob linux intel com>
Date:   Wed Apr 4 11:40:52 2012 +0100

    wayland: Remove unused member from struct

 gdk/wayland/gdkwindow-wayland.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index 4f56ccb..b2d90af 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -113,7 +113,6 @@ struct _GdkWindowImplWayland
    */
   cairo_surface_t *server_surface;
 
-  GLuint texture;
   uint32_t resize_edges;
 
   int focus_count;
@@ -866,9 +865,6 @@ gdk_wayland_window_destroy (GdkWindow *window,
 				   NULL, NULL);
     }
 
-  if (impl->texture)
-    glDeleteTextures(1, &impl->texture);
-
   if (!recursing && !foreign_destroy)
     {
       if (GDK_WINDOW_IMPL_WAYLAND (window->impl)->surface)



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