summaryrefslogtreecommitdiff
path: root/multimedia/gxine/patches/patch-an
blob: 985ae60f42c229d75a584455e93403e80e187a36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
$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;
 }