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:
@ -154,7 +154,6 @@ G_DEFINE_TYPE (GdkWindowImplX11, gdk_window_impl_x11, GDK_TYPE_WINDOW_IMPL)
|
|||||||
static void
|
static void
|
||||||
gdk_window_impl_x11_init (GdkWindowImplX11 *impl)
|
gdk_window_impl_x11_init (GdkWindowImplX11 *impl)
|
||||||
{
|
{
|
||||||
impl->toplevel_window_type = -1;
|
|
||||||
impl->device_cursor = g_hash_table_new_full (NULL, NULL,
|
impl->device_cursor = g_hash_table_new_full (NULL, NULL,
|
||||||
NULL, g_object_unref);
|
NULL, g_object_unref);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -68,7 +68,6 @@ struct _GdkWindowImplX11
|
|||||||
GdkCursor *cursor;
|
GdkCursor *cursor;
|
||||||
GHashTable *device_cursor;
|
GHashTable *device_cursor;
|
||||||
|
|
||||||
gint8 toplevel_window_type;
|
|
||||||
guint no_bg : 1; /* Set when the window background is temporarily
|
guint no_bg : 1; /* Set when the window background is temporarily
|
||||||
* unset during resizing and scaling */
|
* unset during resizing and scaling */
|
||||||
guint override_redirect : 1;
|
guint override_redirect : 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user