blob: b3eb3960c1064f8628135f977ddd4cb6ef6b78c6 (
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
28
29
30
31
32
|
From 4b17eed4b8588569d11ec4bd2b6fa3c063830e6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Thu, 16 May 2013 18:44:50 +0200
Subject: [PATCH] tests/main.c: fix build with glib 2.36
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Upstream-Status: project seems dead
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
tests/main.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/tests/main.c b/tests/main.c
index 61cce82..18165ed 100644
--- a/tests/main.c
+++ b/tests/main.c
@@ -30,7 +30,9 @@ main (gint argc, gchar **argv)
{
GtkWidget *browser;
+#if !GLIB_CHECK_VERSION (2, 36, 0)
g_thread_init(NULL);
+#endif
gtk_init (&argc, &argv);
--
1.7.6.5
|