Please don't top-post. On Thu, Jun 28, 2007 at 02:38:01PM +0530, Divya yadav wrote: > Forgot to mention again its a multithreaded program
It is not possible to randomly call Gtk+ function from multiple threads. Either queue all updates to be performed in the main thread (i.e. the one running gtk_main()) for instance via g_idle_add(), or add locking with gdk_gthreads_enter(), gdk_gthreads_leave() -- and note the latter will still not allow you to call Gtk+ function from multiple threads on MS Windows. For details, see the mailing list archives, this topic is discussed twice a week. Yeti -- http://gwyddion.net/ _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list