[gtk/wip.win32.fixes: 41/44] gdkwin32-surface.c: Fix return type
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip.win32.fixes: 41/44] gdkwin32-surface.c: Fix return type
- Date: Tue, 5 Jan 2021 09:32:00 +0000 (UTC)
commit 705dd6154ec9c4a98057108f3ae031b9ce220b8c
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Fri Dec 11 10:37:43 2020 +0800
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 52e9f37091..d2cae761aa 100644
--- a/gdk/win32/gdksurface-win32.c
+++ b/gdk/win32/gdksurface-win32.c
@@ -4762,7 +4762,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)
{
@@ -4842,8 +4842,6 @@ gdk_win32_toplevel_present (GdkToplevel *toplevel,
size.shadow.top,
size.shadow.bottom);
}
-
- return TRUE;
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]