gdkwin32-surface.c: Fix return type

gdk_win32_toplevel_present() should now be returning nothing, not a gboolean.
This commit is contained in:
Chun-wei Fan 2020-12-11 10:37:43 +08:00
parent 291ad17a22
commit fb33e83c96

View File

@ -4924,7 +4924,7 @@ gdk_win32_toplevel_class_init (GdkWin32ToplevelClass *class)
gdk_toplevel_install_properties (object_class, 1); gdk_toplevel_install_properties (object_class, 1);
} }
static gboolean static void
gdk_win32_toplevel_present (GdkToplevel *toplevel, gdk_win32_toplevel_present (GdkToplevel *toplevel,
GdkToplevelLayout *layout) GdkToplevelLayout *layout)
{ {
@ -5004,8 +5004,6 @@ gdk_win32_toplevel_present (GdkToplevel *toplevel,
size.shadow.top, size.shadow.top,
size.shadow.bottom); size.shadow.bottom);
} }
return TRUE;
} }
static gboolean static gboolean