[gtk/wip/chergert/quartz4u: 75/142] macos: dont clear the delegate
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/quartz4u: 75/142] macos: dont clear the delegate
- Date: Tue, 23 Jun 2020 18:36:00 +0000 (UTC)
commit aee89d14c301df7f0a3d063e75cf14bdcbce3a88
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]