gdk: Remove a bunch of unused variables

This commit is contained in:
Benjamin Otte 2018-03-21 19:58:49 +01:00
parent 1e3d9e1293
commit 4fff16860f
6 changed files with 0 additions and 10 deletions

View 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

View File

@ -61,7 +61,6 @@ struct _GdkSurfaceImplBroadway
int pre_maximize_width;
int pre_maximize_height;
gint8 toplevel_surface_type;
gboolean dirty;
gboolean last_synced;

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

View 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,

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

View File

@ -230,8 +230,6 @@ struct _GdkSurfaceImplWin32
GdkSurface *wrapper;
HANDLE handle;
gint8 toplevel_surface_type;
HICON hicon_big;
HICON hicon_small;