On Wed, 14 Apr 2010 00:13:38 +0530 Nischal Rao <rao.nisc...@gmail.com> wrote: > is there any way to listen to signals without calling gtk_main() > (which never returns) ? If so, then i ll be able to get rid of > threads(happily!!).... I am new to glib threads and gnome signals.. i > have just been following examples that i found on the net.
Of course gtk_main() blocks, as it starts the main program event loop. (You end the loop in order to terminate the program by calling gtk_main_quit().) Are you saying that you are using some external library which has its own main loop? If not, I don't understand your problem. If you are using such an external library, how are you interfacing (or trying to interface) between the two? Chris _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list