diff options
Diffstat (limited to 'meta-oe/recipes-gnome/gtkhtml2/files/0001-tests-main.c-fix-build-with-glib-2.36.patch')
| -rw-r--r-- | meta-oe/recipes-gnome/gtkhtml2/files/0001-tests-main.c-fix-build-with-glib-2.36.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/meta-oe/recipes-gnome/gtkhtml2/files/0001-tests-main.c-fix-build-with-glib-2.36.patch b/meta-oe/recipes-gnome/gtkhtml2/files/0001-tests-main.c-fix-build-with-glib-2.36.patch deleted file mode 100644 index b3eb3960c1..0000000000 --- a/meta-oe/recipes-gnome/gtkhtml2/files/0001-tests-main.c-fix-build-with-glib-2.36.patch +++ /dev/null | |||
| @@ -1,32 +0,0 @@ | |||
| 1 | From 4b17eed4b8588569d11ec4bd2b6fa3c063830e6e Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
| 3 | Date: Thu, 16 May 2013 18:44:50 +0200 | ||
| 4 | Subject: [PATCH] tests/main.c: fix build with glib 2.36 | ||
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | |||
| 9 | Upstream-Status: project seems dead | ||
| 10 | |||
| 11 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
| 12 | --- | ||
| 13 | tests/main.c | 2 ++ | ||
| 14 | 1 files changed, 2 insertions(+), 0 deletions(-) | ||
| 15 | |||
| 16 | diff --git a/tests/main.c b/tests/main.c | ||
| 17 | index 61cce82..18165ed 100644 | ||
| 18 | --- a/tests/main.c | ||
| 19 | +++ b/tests/main.c | ||
| 20 | @@ -30,7 +30,9 @@ main (gint argc, gchar **argv) | ||
| 21 | { | ||
| 22 | GtkWidget *browser; | ||
| 23 | |||
| 24 | +#if !GLIB_CHECK_VERSION (2, 36, 0) | ||
| 25 | g_thread_init(NULL); | ||
| 26 | +#endif | ||
| 27 | |||
| 28 | gtk_init (&argc, &argv); | ||
| 29 | |||
| 30 | -- | ||
| 31 | 1.7.6.5 | ||
| 32 | |||
