X-Git-Url: https://git.stderr.nl/gitweb?p=projects%2Fchimara%2Fchimara.git;a=blobdiff_plain;f=libchimara%2Finit.c;h=0145920b80f39ecce41317a7c1759668a4de3a4b;hp=ab7522cbc545d6240ea578f2a1963796fcb4200d;hb=a03ca60f975be1f4636e42ca19f9e6eafc3fad12;hpb=1e0dc5378f314f555e3b923c6d95f5017abd528b diff --git a/libchimara/init.c b/libchimara/init.c index ab7522c..0145920 100644 --- a/libchimara/init.c +++ b/libchimara/init.c @@ -8,7 +8,7 @@ static gboolean chimara_initialized = FALSE; /* This function is called at every entry point of the library, to set up -threads and gettext. It is NOT called from Glk functions. */ +gettext and GStreamer. It is NOT called from Glk functions. */ void chimara_init(void) { @@ -17,13 +17,6 @@ chimara_init(void) /* Setup gettext */ bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR); bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); - - /* Make sure threads have been initialized */ - if(!g_thread_supported()) - g_error(_("In order to use the Chimara library, you must initialize" - " the thread system by calling g_threads_init() and " - "gdk_threads_init() BEFORE the initial call to gtk_init() in " - "your main program.")); #ifdef GSTREAMER_SOUND /* Make sure GStreamer has been initialized if it hasn't been already;