ports/mail/gnome-gmail-notifier/files/patch-src_main.c
Koop Mast 7cbeacae40 Fix run-time with glib 2.36 [1]
While here stageify, and use new lib_depend syntax.

PR:		ports/177226 [1]
Reported by:	Eimar Koort <eimar.koort@gmail.com>
2013-11-23 23:04:57 +00:00

19 lines
436 B
C

--- src/main.c.orig 2013-11-23 23:59:43.000000000 +0100
+++ src/main.c 2013-11-24 00:00:28.000000000 +0100
@@ -58,6 +58,7 @@
/* start gdk threads. */
gdk_threads_init ();
+ gdk_threads_enter();
/* lock and start gtk. */
gtk_init (&argc, &argv);
@@ -71,6 +72,8 @@
/* punt control to the manager. */
ggn_manager_main (manager, argc, argv);
+ gdk_threads_leave();
+
/* exit the application. */
return 0;
}