Re: About compatibility in GNOME 2 (was Re: Compatibility stuff)



Martin Baulig <martin home-of-linux org> writes: 
> I didn't propose such a kind of action since I feel very bad about "polluting"
> someone else's namespace.
> 
> I mean, before I can even make a patch which does this in a particular
> application, I must be sure that you, the GTK+ team, will never at any
> point in the future add these macros to GTK+ stable.
> 
> Because blindly #define'ing GTK_SOMETHING somewhere and assuming that
> there'll never be a GTK+ relesae which #defines the same is a very
> bad idea IMO.

You can just do:
 #ifndef G_OBJECT_CLASS
 #define G_OBJECT_CLASS
 #endif

type of stuff.

> So basically what I need to do here is to make a GTK+ patch which adds
> these macros to GTK+, make sure that you refuse the patch and promise that
> you will really never apply it at any time in the future.

I don't think we should apply it, no. I can't promise on Owen and
Tim's behalf.

Havoc

_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers




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