27 lines
618 B
Text
27 lines
618 B
Text
$NetBSD: patch-an,v 1.2 2012/05/06 23:13:49 dholland Exp $
|
|
|
|
- fix build with latest glib2
|
|
- threading fix? (?)
|
|
|
|
--- src/main.c.orig 2009-12-19 16:18:41.000000000 +0000
|
|
+++ src/main.c
|
|
@@ -45,7 +45,6 @@
|
|
#include <gdk/gdkx.h>
|
|
#include <gdk/gdkkeysyms.h>
|
|
#include <glib.h>
|
|
-#include <glib/gmessages.h>
|
|
|
|
#include "desktop_integration.h"
|
|
#include "engine.h"
|
|
@@ -802,9 +801,9 @@ to the extent permitted by law.\n"),
|
|
if (cmd)
|
|
se_eval (gse, cmd, NULL, NULL, NULL, "--command");
|
|
|
|
- //gdk_threads_enter();
|
|
+ gdk_threads_enter();
|
|
gtk_main();
|
|
- //gdk_threads_leave();
|
|
+ gdk_threads_leave();
|
|
|
|
return 0;
|
|
}
|