forked from AuroraMiddleware/gtk
gdk: Remove a bunch of unused variables
This commit is contained in:
parent
1e3d9e1293
commit
4fff16860f
@ -123,7 +123,6 @@ queue_flush (GdkSurface *surface)
|
|||||||
static void
|
static void
|
||||||
gdk_surface_impl_broadway_init (GdkSurfaceImplBroadway *impl)
|
gdk_surface_impl_broadway_init (GdkSurfaceImplBroadway *impl)
|
||||||
{
|
{
|
||||||
impl->toplevel_surface_type = -1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -61,7 +61,6 @@ struct _GdkSurfaceImplBroadway
|
|||||||
int pre_maximize_width;
|
int pre_maximize_width;
|
||||||
int pre_maximize_height;
|
int pre_maximize_height;
|
||||||
|
|
||||||
gint8 toplevel_surface_type;
|
|
||||||
gboolean dirty;
|
gboolean dirty;
|
||||||
gboolean last_synced;
|
gboolean last_synced;
|
||||||
|
|
||||||
|
@ -156,8 +156,6 @@ struct _GdkSurface
|
|||||||
|
|
||||||
guint8 resize_count;
|
guint8 resize_count;
|
||||||
|
|
||||||
gint8 toplevel_surface_type;
|
|
||||||
|
|
||||||
GList *children;
|
GList *children;
|
||||||
GList children_list_node;
|
GList children_list_node;
|
||||||
|
|
||||||
@ -191,14 +189,12 @@ struct _GdkSurface
|
|||||||
guint input_only : 1;
|
guint input_only : 1;
|
||||||
guint pass_through : 1;
|
guint pass_through : 1;
|
||||||
guint modal_hint : 1;
|
guint modal_hint : 1;
|
||||||
guint has_alpha_background : 1;
|
|
||||||
|
|
||||||
guint destroyed : 2;
|
guint destroyed : 2;
|
||||||
|
|
||||||
guint accept_focus : 1;
|
guint accept_focus : 1;
|
||||||
guint focus_on_map : 1;
|
guint focus_on_map : 1;
|
||||||
guint support_multidevice : 1;
|
guint support_multidevice : 1;
|
||||||
guint synthesize_crossing_event_queued : 1;
|
|
||||||
guint viewable : 1; /* mapped and all parents mapped */
|
guint viewable : 1; /* mapped and all parents mapped */
|
||||||
guint in_update : 1;
|
guint in_update : 1;
|
||||||
guint frame_clock_events_paused : 1;
|
guint frame_clock_events_paused : 1;
|
||||||
|
@ -227,7 +227,6 @@ gdk_surface_init (GdkSurface *surface)
|
|||||||
surface->fullscreen_mode = GDK_FULLSCREEN_ON_CURRENT_MONITOR;
|
surface->fullscreen_mode = GDK_FULLSCREEN_ON_CURRENT_MONITOR;
|
||||||
surface->width = 1;
|
surface->width = 1;
|
||||||
surface->height = 1;
|
surface->height = 1;
|
||||||
surface->toplevel_surface_type = -1;
|
|
||||||
surface->children_list_node.data = surface;
|
surface->children_list_node.data = surface;
|
||||||
|
|
||||||
surface->device_cursor = g_hash_table_new_full (NULL, NULL,
|
surface->device_cursor = g_hash_table_new_full (NULL, NULL,
|
||||||
|
@ -190,7 +190,6 @@ gdk_surface_impl_win32_init (GdkSurfaceImplWin32 *impl)
|
|||||||
{
|
{
|
||||||
GdkDisplay *display = gdk_display_get_default ();
|
GdkDisplay *display = gdk_display_get_default ();
|
||||||
|
|
||||||
impl->toplevel_surface_type = -1;
|
|
||||||
impl->hicon_big = NULL;
|
impl->hicon_big = NULL;
|
||||||
impl->hicon_small = NULL;
|
impl->hicon_small = NULL;
|
||||||
impl->hint_flags = 0;
|
impl->hint_flags = 0;
|
||||||
|
@ -230,8 +230,6 @@ struct _GdkSurfaceImplWin32
|
|||||||
GdkSurface *wrapper;
|
GdkSurface *wrapper;
|
||||||
HANDLE handle;
|
HANDLE handle;
|
||||||
|
|
||||||
gint8 toplevel_surface_type;
|
|
||||||
|
|
||||||
HICON hicon_big;
|
HICON hicon_big;
|
||||||
HICON hicon_small;
|
HICON hicon_small;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user