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.
This commit is contained in:
Matthias Clasen 2013-03-31 22:44:59 -04:00
parent 17c402c030
commit cb4cf67a95
2 changed files with 0 additions and 2 deletions

View File

@ -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);
}

View File

@ -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;