[PATCH] gnome2 remove deprecated function

Derek Atkins warlord at MIT.EDU
Mon May 24 17:21:36 EDT 2004


"Brian P. Skahan" <bskahan at etria.com> writes:

> On Mon, 2004-05-24 at 15:03 -0400, Derek Atkins wrote:
>> > It wouldn't compile on FC2 here.  (gtk+-2.4)
>> 
>> Why not?  The api exists on FC2, just inside an #ifndef
>> G_DISABLE_DEPRECATED which we shouldn't be defining in our code
>> (because it would break LOTS of stuff).  How does it fail for you on
>> FC2?
>
> implicit declaration of g_value_set_object_take_ownership

I just noticed a couple things:

1) lib/egg/Makefile.am DEFINES G_DISABLE_DEPRECATED, which is why you
   noticed this.   I'm trying to rebuild without the deprecated functions
   being disabled.

2) lib/egg does not build if I --enable-iso-c!  It complains (in
   egg-actions.c) about a bunch of things, like enums that end in a
   comma, or mixing void* and function pointers.  Just a note
   to other developers to be careful on the g2 branch with --enable-iso-c

If this build finishes on FC2 I'll try it again on my modified RH9
system.. If it works THERE then I'll commit this change to lib/egg.

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list