[gtk/wip.win32.fixes: 3/5] 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: 3/5] gdkwin32-surface.c: Fix return type
- Date: Thu, 31 Dec 2020 09:34:48 +0000 (UTC)
commit f68bd7d4f7dad80e50fad4db12fc76a077c1d923
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]