Hi Christian, add a function cb_messagebox_locked which calls gdk_threads_enter(), cb_messagebox(...) and gdk_threads_leave(). Call init_app(cb_messagebox_locked). Where is the problem? You have two different requirements (popup dialogbox vs. lock and popup dialogbox), so use two functions. Cheers, Sebastian _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list