X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2Fchimara-glk.c;h=16e674969c10f9ae9feaf92804261b0b4414c8d5;hb=a7665032bcdacab5d3441eb9d03cfe6b0c0c4923;hp=7ad1f81ef2179e999aaa40cb83b2da202039d879;hpb=95f3e35d90c857ee15c30b91ad2f3aa6e3867879;p=projects%2Fchimara%2Fchimara.git diff --git a/src/chimara-glk.c b/src/chimara-glk.c index 7ad1f81..16e6749 100644 --- a/src/chimara-glk.c +++ b/src/chimara-glk.c @@ -86,6 +86,7 @@ chimara_glk_init(ChimaraGlk *self) priv->fileref_list = NULL; priv->current_stream = NULL; priv->stream_list = NULL; + priv->timer_id = 0; } static void @@ -922,7 +923,7 @@ chimara_glk_run(ChimaraGlk *glk, gchar *plugin, GError **error) /* Set the thread's private data */ /* TODO: Do this with a GPrivate */ glk_data = priv; - + /* Run in a separate thread */ priv->thread = g_thread_create(glk_enter, glk_main, TRUE, error);