From fb33e83c96f6eadca409f3240071d5ddeb7c7573 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Fri, 11 Dec 2020 10:37:43 +0800 Subject: [PATCH] gdkwin32-surface.c: Fix return type gdk_win32_toplevel_present() should now be returning nothing, not a gboolean. --- gdk/win32/gdksurface-win32.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gdk/win32/gdksurface-win32.c b/gdk/win32/gdksurface-win32.c index 6b53b37d7f..5f50969e70 100644 --- a/gdk/win32/gdksurface-win32.c +++ b/gdk/win32/gdksurface-win32.c @@ -4924,7 +4924,7 @@ gdk_win32_toplevel_class_init (GdkWin32ToplevelClass *class) gdk_toplevel_install_properties (object_class, 1); } -static gboolean +static void gdk_win32_toplevel_present (GdkToplevel *toplevel, GdkToplevelLayout *layout) { @@ -5004,8 +5004,6 @@ gdk_win32_toplevel_present (GdkToplevel *toplevel, size.shadow.top, size.shadow.bottom); } - - return TRUE; } static gboolean