3 #include <glib/gi18n-lib.h>
8 static gboolean chimara_initialized = FALSE;
10 /* This function is called at every entry point of the library, to set up
11 gettext and GStreamer. It is NOT called from Glk functions. */
15 if( G_UNLIKELY(!chimara_initialized) )
18 bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
19 bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
21 #ifdef GSTREAMER_SOUND
22 /* Make sure GStreamer has been initialized if it hasn't been already;
23 in particular, if you want your program to parse GStreamer command line
24 options then you should do it yourself, before gtk_init(). */
26 /* SUCKY DEBIAN: gst_is_initialized() supported from 0.10.30 onward */
27 /*if( !gst_is_initialized() )*/