projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0582a4e
)
move [NSApplication sharedApplication] after _gdk_quartz_events_init() to avoid initi...
author
Alex Samorukov
<samm@net-art.cz>
Wed, 8 Jan 2020 14:10:06 +0000
(14:10 +0000)
committer
Alex Samorukov
<samm@net-art.cz>
Wed, 8 Jan 2020 14:10:06 +0000
(14:10 +0000)
(cherry picked from commit
46c2451c5a3cd42aa5a94935bfc850a484288ff3
)
gdk/quartz/gdkdisplay-quartz.c
patch
|
blob
|
history
diff --git
a/gdk/quartz/gdkdisplay-quartz.c
b/gdk/quartz/gdkdisplay-quartz.c
index 342080197812b1c3dc55a4966c1d7a49828823b4..5b4b3c99ed579a209895c6b509cd389464277c98 100644
(file)
--- a/
gdk/quartz/gdkdisplay-quartz.c
+++ b/
gdk/quartz/gdkdisplay-quartz.c
@@
-55,9
+55,6
@@
_gdk_quartz_display_open (const gchar *display_name)
if (_gdk_display != NULL)
return NULL;
- /* Initialize application */
- [NSApplication sharedApplication];
-
_gdk_display = g_object_new (gdk_quartz_display_get_type (), NULL);
_gdk_device_manager = _gdk_device_manager_new (_gdk_display);
@@
-67,6
+64,8
@@
_gdk_quartz_display_open (const gchar *display_name)
_gdk_quartz_events_init ();
+ /* Initialize application */
+ [NSApplication sharedApplication];
#if 0
/* FIXME: Remove the #if 0 when we have these functions */
_gdk_quartz_dnd_init ();