[gtk/matthiasc/for-master: 1/2] macos: Fix a compiler warning




commit ac50a24af236d0638bb0465e24e6e831e141d3bd
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..adeced54dd 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 g_steal_pointer ((GdkSeat *)&self);
 }
 
 static GdkDeviceToolType


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