Re: GtkApplication Thread Initialization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you for the reply!

I will try just g_thread_init (NULL). It did not initialize by default using gtk+ 3.4.3-1 (using Arch Linux).

I assumed that I needed to do the gdk_threads_enter (); and gdk_threads_leave (); like before and that didn't work at all.

I dug through the source code and did not see any place it was initializing so I assumed I had to do it myself.


-Jeff



On Fri, Jul 6, 2012 at 12:45 PM, Paul Davis <paul@xxxxxxxxxxxxxxxxxxxxx> wrote:
  /* Initialize threading in older libraries */
#if (!GLIB_CHECK_VERSION (2, 31, 0))
  g_thread_init (NULL);
#endif

#if (!CLUTTER_CHECK_VERSION (1, 9, 0))'

these are compile time checks ... seems unwise, no?
 

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux