[linux-menu] JBR-2565 Create new main context instead of using default one in GlobalM...
authorNikita Gubarkov <nikita.gubarkov@jetbrains.com>
Sat, 8 Aug 2020 10:09:03 +0000 (13:09 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Sat, 8 Aug 2020 10:09:03 +0000 (10:09 +0000)
GitOrigin-RevId: 7d686579bc9c694dea7391e0c6ccf95fd1adaf9c

bin/linux/libdbm64.so
native/LinuxGlobalMenu/DbusMenuWrapper.c

index d8fa66c6b661c2492cac81af1bb5b1a3e2ee20ab..d7909f2f29ecda21821f6c24e536ec5cf0c68a82 100755 (executable)
Binary files a/bin/linux/libdbm64.so and b/bin/linux/libdbm64.so differ
index 2d35071a0ae0dca66b251f34fd930a54556356d8..ea8ade9ff5c9f3d537bd0448968abd27d2584604 100644 (file)
@@ -97,7 +97,7 @@ void stopWatchDbus() {
 // used when javaFX can't be started
 void runMainLoop(jlogger jlogger, jrunnable onAppmenuServiceAppeared, jrunnable onAppmenuServiceVanished) {
   startWatchDbus(jlogger, onAppmenuServiceAppeared, onAppmenuServiceVanished);
-  g_main_loop_run(g_main_loop_new(NULL/*will be used g_main_context_default()*/, FALSE));
+  g_main_loop_run(g_main_loop_new(g_main_context_new(), FALSE));
 }
 
 static void _onDbusOwnerChange(GObject *gobject, GParamSpec *pspec, gpointer user_data) {