Hi Gtk+-2.0 leaks memory, please take a look at: http://ags.sourceforge.net
Is Gtk+-2.0 still maintained? Or is migrating to Gtk+-3.0 the only choice? Or may someone could explain me what's wrong about: AgsAudioLoop *audio_loop; AgsGuiThread *gui_thread; auto void ags_gui_thread_do_gtk_iteration(); void ags_gui_thread_do_gtk_iteration(){ if(!g_main_context_acquire(main_context)){ gboolean got_ownership = FALSE; while(!got_ownership){ got_ownership = g_main_context_wait(main_context, &(gui_thread->cond), &(gui_thread->mutex)); } } /* */ gdk_threads_enter(); gdk_threads_leave(); g_main_context_iteration(main_context, FALSE); g_main_context_release(main_context); } gui_thread = AGS_GUI_THREAD(thread); /* */ main_context = g_main_context_default(); ags_gui_thread_do_gtk_iteration(); _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list