[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-bug: Function name collision with GLib 2.6



Full_Name: Patrick Bernaud
Version: 20041228
OS: GNU/Linux
Submission from: (NULL) (81.53.30.198)


It appears that GLib 2.6.0 introduced a function named g_key_file_new() (see
http://developer.gnome.org/doc/API/2.0/glib/glib-Key-value-file-parser.html#g-key-file-new)
that collides with the gschem function (in g_key.c).

When this function is renamed, gschem (and libgeda) works fine with GTK 2.6.0.

Relevant files in gschem source tree: 
- g_key.nw @ line 157 
- g_register.nw @ line 198 
- prototypes.h

Patrick