gdk: Remove a bunch of unused variables
authorBenjamin Otte <otte@redhat.com>
Wed, 21 Mar 2018 18:58:49 +0000 (19:58 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 21 Mar 2018 22:28:26 +0000 (23:28 +0100)
gdk/broadway/gdksurface-broadway.c
gdk/broadway/gdksurface-broadway.h
gdk/gdkinternals.h
gdk/gdksurface.c
gdk/win32/gdksurface-win32.c
gdk/win32/gdksurface-win32.h

index 790a240b1f725d382864ec22579e51f429d971c1..06ba909c5727862d578b0b5d11d54da5e1d9a2ba 100644 (file)
@@ -123,7 +123,6 @@ queue_flush (GdkSurface *surface)
 static void
 gdk_surface_impl_broadway_init (GdkSurfaceImplBroadway *impl)
 {
-  impl->toplevel_surface_type = -1;
 }
 
 static void
index ca6a5247b1aded3fa5693625a80d5b631f81f21e..a89042e17ad65d3f14f69d7e5a146100995dc2f5 100644 (file)
@@ -61,7 +61,6 @@ struct _GdkSurfaceImplBroadway
   int pre_maximize_width;
   int pre_maximize_height;
 
-  gint8 toplevel_surface_type;
   gboolean dirty;
   gboolean last_synced;
 
index fe65fbbec37a7369296991078b0e16a21f63e393..dd2399101498f64b9a2dd86ebd1dec025d4d0848 100644 (file)
@@ -156,8 +156,6 @@ struct _GdkSurface
 
   guint8 resize_count;
 
-  gint8 toplevel_surface_type;
-
   GList *children;
   GList children_list_node;
 
@@ -191,14 +189,12 @@ struct _GdkSurface
   guint input_only : 1;
   guint pass_through : 1;
   guint modal_hint : 1;
-  guint has_alpha_background : 1;
 
   guint destroyed : 2;
 
   guint accept_focus : 1;
   guint focus_on_map : 1;
   guint support_multidevice : 1;
-  guint synthesize_crossing_event_queued : 1;
   guint viewable : 1; /* mapped and all parents mapped */
   guint in_update : 1;
   guint frame_clock_events_paused : 1;
index cc6eab44fb62c16837eb7aa0539fb33c44f54c1f..b2cdc558be29dc18f3f80937686a186f1244af9c 100644 (file)
@@ -227,7 +227,6 @@ gdk_surface_init (GdkSurface *surface)
   surface->fullscreen_mode = GDK_FULLSCREEN_ON_CURRENT_MONITOR;
   surface->width = 1;
   surface->height = 1;
-  surface->toplevel_surface_type = -1;
   surface->children_list_node.data = surface;
 
   surface->device_cursor = g_hash_table_new_full (NULL, NULL,
index 5fa66dd8d9805fa7ade8ec3bde3a0845ece824c6..1156653e9d8f6b945310430b7f6b51fa614bcdc9 100644 (file)
@@ -190,7 +190,6 @@ gdk_surface_impl_win32_init (GdkSurfaceImplWin32 *impl)
 {
   GdkDisplay *display = gdk_display_get_default ();
 
-  impl->toplevel_surface_type = -1;
   impl->hicon_big = NULL;
   impl->hicon_small = NULL;
   impl->hint_flags = 0;
index d99fdd0fcb6c08fb1d0a3c13f6ad6aebebef584f..1d22ade85f37b7fb862fcea444caf61dcb7ddcba 100644 (file)
@@ -230,8 +230,6 @@ struct _GdkSurfaceImplWin32
   GdkSurface *wrapper;
   HANDLE handle;
 
-  gint8 toplevel_surface_type;
-
   HICON   hicon_big;
   HICON   hicon_small;