[gtk/matthiasc/for-master: 14/15] macos: Fix a compiler warning




commit 22827f2cc7e2930c8f3ea86077ae20e93ce8d204
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Jun 17 09:40:22 2021 -0400

    macos: Fix a compiler warning

 gdk/macos/gdkmacosseat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/macos/gdkmacosseat.c b/gdk/macos/gdkmacosseat.c
index b003bb7ca6..b555002dd4 100644
--- a/gdk/macos/gdkmacosseat.c
+++ b/gdk/macos/gdkmacosseat.c
@@ -348,7 +348,7 @@ _gdk_macos_seat_new (GdkMacosDisplay *display)
 
   init_devices (self);
 
-  return g_steal_pointer (&self);
+  return GDK_SEAT (g_steal_pointer (&self));
 }
 
 static GdkDeviceToolType


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]