--- extensions/source/plugin/unx/npwrap.cxx 2010-02-22 02:31:31.000000000 +0300 +++ extensions/source/plugin/unx/npwrap.cxx 2010-02-22 02:32:04.000000000 +0300 @@ -485,7 +485,9 @@ medDebug( 1, "left plugin app main loop\n" ); + #ifdef ENABLE_GTK g_source_remove(xt_polling_timer_id); + #endif pNP_Shutdown(); medDebug( 1, "NP_Shutdown done\n" );