[gtk+] Remove an unused field in GdkWindowX11



commit cb4cf67a95517335f8b5af7a36f3be689a0576e7
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Mar 31 22:44:59 2013 -0400

    Remove an unused field in GdkWindowX11
    
    The toplevel_window_type field was only ever set to -1, and
    never used. The actual, used toplevel_window_type field lives
    in GdkWindow.

 gdk/x11/gdkwindow-x11.c |    1 -
 gdk/x11/gdkwindow-x11.h |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
index 26eaf69..39298ad 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -154,7 +154,6 @@ G_DEFINE_TYPE (GdkWindowImplX11, gdk_window_impl_x11, GDK_TYPE_WINDOW_IMPL)
 static void
 gdk_window_impl_x11_init (GdkWindowImplX11 *impl)
 {  
-  impl->toplevel_window_type = -1;
   impl->device_cursor = g_hash_table_new_full (NULL, NULL,
                                                NULL, g_object_unref);
 }
diff --git a/gdk/x11/gdkwindow-x11.h b/gdk/x11/gdkwindow-x11.h
index 9982a5e..5079b5d 100644
--- a/gdk/x11/gdkwindow-x11.h
+++ b/gdk/x11/gdkwindow-x11.h
@@ -68,7 +68,6 @@ struct _GdkWindowImplX11
   GdkCursor *cursor;
   GHashTable *device_cursor;
 
-  gint8 toplevel_window_type;
   guint no_bg : 1;        /* Set when the window background is temporarily
                            * unset during resizing and scaling */
   guint override_redirect : 1;


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