mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
GdkWin32: Remove unused members from GdkWin32Surface
This commit is contained in:
parent
eb10af0dac
commit
a9082fa5fa
@ -194,12 +194,6 @@ gdk_surface_win32_finalize (GObject *object)
|
||||
surface->hicon_small = NULL;
|
||||
}
|
||||
|
||||
if (surface->cache_surface)
|
||||
{
|
||||
cairo_surface_destroy (surface->cache_surface);
|
||||
surface->cache_surface = NULL;
|
||||
}
|
||||
|
||||
_gdk_win32_surface_unregister_dnd (GDK_SURFACE (surface));
|
||||
|
||||
g_assert (surface->transient_owner == NULL);
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* GDK - The GIMP Drawing Kit
|
||||
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
|
||||
* Copyright (C) 2023 the GTK team
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Library General Public
|
||||
@ -15,13 +16,6 @@
|
||||
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Modified by the GTK+ Team and others 1997-1999. See the AUTHORS
|
||||
* file for a list of people on the GTK+ Team. See the ChangeLog
|
||||
* files for a list of changes. These files are distributed with
|
||||
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "gdk/win32/gdkprivate-win32.h"
|
||||
@ -289,23 +283,7 @@ struct _GdkWin32Surface
|
||||
*/
|
||||
guint maximizing : 1;
|
||||
|
||||
/* GDK does not keep window contents around, it just draws new
|
||||
* stuff over the window where changes occurred.
|
||||
* cache_surface retains old window contents, because
|
||||
* UpdateLayeredWindow() doesn't do partial redraws.
|
||||
*/
|
||||
cairo_surface_t *cache_surface;
|
||||
|
||||
/* Unlike window-backed surfaces, DIB-backed surface
|
||||
* does not provide a way to query its size,
|
||||
* so we have to remember it ourselves.
|
||||
*/
|
||||
int dib_width;
|
||||
int dib_height;
|
||||
|
||||
HDC hdc;
|
||||
int hdc_count;
|
||||
HBITMAP saved_dc_bitmap; /* Original bitmap for dc */
|
||||
HDC hdc;
|
||||
|
||||
GdkW32DragMoveResizeContext drag_move_resize_context;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user