[gtk/gdk-internal-cleanup: 7/9] win32: Drop vestigial surface type hint field
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gdk-internal-cleanup: 7/9] win32: Drop vestigial surface type hint field
- Date: Fri, 14 Aug 2020 02:24:27 +0000 (UTC)
commit 52706245ed2face393b597ef3b39b1791bfda396
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Aug 13 21:36:44 2020 -0400
win32: Drop vestigial surface type hint field
This wasn't used in any way.
gdk/win32/gdksurface-win32.c | 4 ++--
gdk/win32/gdksurface-win32.h | 2 --
2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/gdk/win32/gdksurface-win32.c b/gdk/win32/gdksurface-win32.c
index a559cb3271..f68505f8d8 100644
--- a/gdk/win32/gdksurface-win32.c
+++ b/gdk/win32/gdksurface-win32.c
@@ -332,7 +332,7 @@ get_default_title (void)
* get its own class
*/
static ATOM
-RegisterGdkClass (GdkSurfaceType wtype, GdkSurfaceTypeHint wtype_hint)
+RegisterGdkClass (GdkSurfaceType wtype)
{
static ATOM klassTOPLEVEL = 0;
static ATOM klassTEMP = 0;
@@ -613,7 +613,7 @@ _gdk_win32_display_create_surface (GdkDisplay *display,
* under the mouse cursor, this will kill any DND.
*/
- klass = RegisterGdkClass (surface_type, impl->type_hint);
+ klass = RegisterGdkClass (surface_type);
wtitle = g_utf8_to_utf16 (title, -1, NULL, NULL, NULL);
diff --git a/gdk/win32/gdksurface-win32.h b/gdk/win32/gdksurface-win32.h
index 1f54b7b070..603401f856 100644
--- a/gdk/win32/gdksurface-win32.h
+++ b/gdk/win32/gdksurface-win32.h
@@ -256,8 +256,6 @@ struct _GdkWin32Surface
*/
GdkDrop *drop;
- GdkSurfaceTypeHint type_hint;
-
GdkSurface *transient_owner;
GSList *transient_children;
int num_transients;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]