g_thread_new and GLib

Technical and coding related questions.

Moderator: Board moderators

Post Reply
SilverNexus
Junior member
Posts: 165
Joined: Mon Jun 25, 2012 5:33 pm
Location: Planet Earth

g_thread_new and GLib

Post by SilverNexus »

When trying to build Crossfire Client for Windows, I get a warning stating g_thread_new is undefined. With some research, I concluded the GTK 2.24.10 package provided on GTK's site uses GLib 2.28, when g_thread_new was added in GLib 2.32.

Can I safely update GLib to 2.32 or newer without completely borking my GTK stack? Or should we be using the GLib 2.28 API for threads?
That SilverNexus guy? You needn't worry about him.
He is level negative 4 in oratory, and his singing is worse.
Leaf
Forum Aficionado
Posts: 1994
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Post by Leaf »

A work around that another developer uses is this..

Download both GTK2 and GTK3 and extract one on top of another; this allows Glib 2.32 with Gtk2
"Put another, more succinct way: don't complain, contribute. It's more satisfying in the long run, and it's more constructive."
Eric Meyer
Post Reply