mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-23 20:30:15 +00:00
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:
parent
17c402c030
commit
cb4cf67a95
@ -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);
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user