[gtk/wip/chergert/quartz4u: 44/116] macos: dont clear the delegate
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/quartz4u: 44/116] macos: dont clear the delegate
- Date: Wed, 24 Jun 2020 23:42:23 +0000 (UTC)
commit c89bf550da6d6fb5d71914e60dd6ce9e87e78bed
Author: Christian Hergert <chergert redhat com>
Date: Tue May 19 11:19:42 2020 -0700
macos: dont clear the delegate
We actually need some more notifications and this doesn't seem to be
happening for me on Catalina. We can check other releases later when we
look at supporting legacy releases.
gdk/macos/GdkMacosWindow.c | 9 ---------
1 file changed, 9 deletions(-)
---
diff --git a/gdk/macos/GdkMacosWindow.c b/gdk/macos/GdkMacosWindow.c
index f56119a949..108d6cb86b 100644
--- a/gdk/macos/GdkMacosWindow.c
+++ b/gdk/macos/GdkMacosWindow.c
@@ -37,15 +37,6 @@
@implementation GdkMacosWindow
--(void)windowWillClose:(NSNotification*)notification
-{
- /* Clears the delegate when window is going to be closed; since EL
- * Capitan it is possible that the methods of delegate would get called
- * after the window has been closed.
- */
- [self setDelegate:nil];
-}
-
-(BOOL)windowShouldClose:(id)sender
{
GdkDisplay *display;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]