[gtk/wip/chergert/quartz4u] macos: fix some warnings
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/quartz4u] macos: fix some warnings
- Date: Tue, 5 May 2020 03:32:00 +0000 (UTC)
commit e6392bfb3c3a6e701bd9d57ceb065874da8cc347
Author: Christian Hergert <chergert redhat com>
Date: Mon May 4 20:30:39 2020 -0700
macos: fix some warnings
gdk/macos/GdkMacosWindow.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gdk/macos/GdkMacosWindow.c b/gdk/macos/GdkMacosWindow.c
index 6b3c0ecf0e..bed7734e37 100644
--- a/gdk/macos/GdkMacosWindow.c
+++ b/gdk/macos/GdkMacosWindow.c
@@ -138,7 +138,7 @@
GdkDisplay *display = gdk_surface_get_display (GDK_SURFACE (gdkSurface));
double time = ((double)[event timestamp]) * 1000.0;
- _gdk_macos_display_break_all_grabs (display, time);
+ _gdk_macos_display_break_all_grabs (GDK_MACOS_DISPLAY (display), time);
inManualMove = NO;
inManualResize = NO;
@@ -267,7 +267,7 @@
screen:screen];
[self setAcceptsMouseMovedEvents:YES];
- [self setDelegate:self];
+ [self setDelegate:(id<NSWindowDelegate>)self];
[self setReleasedWhenClosed:YES];
view = [[GdkMacosCairoView alloc] initWithFrame:contentRect];
@@ -300,7 +300,7 @@
[self checkSendEnterNotify];
- [[self contentView] updateTrackingRect];
+ [(GdkMacosBaseView *)[self contentView] updateTrackingRect];
}
-(void)hide
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]