diff options
| author | Tomas Bzatek <tbzatek@redhat.com> | 2013-04-22 15:29:43 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@redhat.com> | 2013-04-22 15:30:18 +0200 |
| commit | 3a6563d039e38a171ce5a5c09ecfe7981797e2c4 (patch) | |
| tree | 873f2a0072f8d045c71a735b38bb72f3f1248394 /src/cgg.c | |
| parent | 14763f09fe457dc1781ef8b15014496ebae536cf (diff) | |
| download | cataract-3a6563d039e38a171ce5a5c09ecfe7981797e2c4.tar.xz | |
Use new glib threading API
The gthread library has been merged in glib and the threading API has changed
a little. Since changes are negligible, there's no point of losing support
of older glib releases, thus make it conditional.
Diffstat (limited to 'src/cgg.c')
| -rw-r--r-- | src/cgg.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -125,7 +125,9 @@ main (int argc, char* argv[]) */ LIBXML_TEST_VERSION; +#ifndef HAVE_GLIB_NEW_THREADS g_thread_init (NULL); +#endif /* Initialize ImageMagick at this point, for multithreading safety */ MagickWandGenesis(); |
