gEDA-dev: glib 2.8.x functions in gschem/src/x_menu.c
Peter TB Brett
peter at peter-b.co.uk
Wed May 9 01:39:52 EDT 2007
On Wednesday 09 May 2007 03:32:21 Ales Hvezda wrote:
> Hi All,
>
> I just got an e-mail that says that there are functions in
> x_menu.c which are >= glib 2.8.x functions, such as: g_file_set_contents()
>
> Confirmed: http://www.gtk.org/api/2.6/glib/glib-File-Utilities.html
>
> Could somebody please add the appropriate #ifdefs? I think the right
> answer is to completely disable the recent file loading if we are
> at or less than glib 2.6.x. Thanks,
>
> -Ales
Hi Ales -- my bad, I assumed that Ivan had used functions in 2.6 or under
inside a check for GTK 2.6!
However, the recent file loading **is** completely disabled in GTK < 2.6. I
don't imagine it'll be too difficult to fix it to work in 2.6 --
g_file_set_contents() is a utility function, and it shouldn't take more than
an explicit fopen(), fwrite(), fclose() to replace it.
Unfortunately I don't have time to do this right now. Can you add Ivan as a
developer on SF so that I can assign bugs to him?
If anyone who doesn't have CVS access comes up with a patch, e-mail it to me
and I'll test & apply it ASAP.
Thanks,
Peter
--
Fisher Society committee http://tinyurl.com/o39w2
CUSBC novices, match and league secretary http://tinyurl.com/mwrc9
CU Spaceflight http://tinyurl.com/ognu2
09f911029d74e35bd84156c5635688c0 peter-b.co.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.seul.org/pipermail/geda-dev/attachments/20070509/11fdf40c/attachment.pgp
More information about the geda-dev
mailing list