[gtk/wip/chergert/fix-macos-compute-size: 1/3] macos: fix toplevel present function prototype
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/fix-macos-compute-size: 1/3] macos: fix toplevel present function prototype
- Date: Fri, 1 Jan 2021 21:09:58 +0000 (UTC)
commit 62af8365f657923f3a5be24d1637cee0df4334ef
Author: Christian Hergert <chergert redhat com>
Date: Thu Dec 31 11:07:07 2020 -0800
macos: fix toplevel present function prototype
No need to return anything here.
gdk/macos/gdkmacostoplevelsurface.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/gdk/macos/gdkmacostoplevelsurface.c b/gdk/macos/gdkmacostoplevelsurface.c
index 4a84dc8304..54c991bdf2 100644
--- a/gdk/macos/gdkmacostoplevelsurface.c
+++ b/gdk/macos/gdkmacostoplevelsurface.c
@@ -81,7 +81,7 @@ _gdk_macos_toplevel_surface_unmaximize (GdkMacosToplevelSurface *self)
[window zoom:window];
}
-static gboolean
+static void
_gdk_macos_toplevel_surface_present (GdkToplevel *toplevel,
GdkToplevelLayout *layout)
{
@@ -230,8 +230,6 @@ _gdk_macos_toplevel_surface_present (GdkToplevel *toplevel,
_gdk_macos_surface_show (GDK_MACOS_SURFACE (self));
GDK_MACOS_SURFACE (self)->did_initial_present = TRUE;
-
- return TRUE;
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]