Re: [gtk-list] Re: Pure Gtk vs Gnome



On Tue, 3 Nov 1998, Bertrand Guiheneuf wrote:

> An app becomes a Gnome software if it uses the gnome libraries
> (unless you app is a library itself).
>
> If your app needs any of the features already present in gnome libs
> then your app has to be gnome dependent.

Well, there are several gnome features, such as the session management stuff,
that would be nice, but is not necessary for the app to function.  (and a lot
of convience stuff, though if I maintain two versions I have to do it the hard
way also anyways)

> If you still think your app needs some gnome features but you would
> like to maintain a simpler version using only GTK, I guess there is no
> other way than adding #ifdef GNOME to to your code...

that has been my approach, #ifdef blocks where there were small changes, and
sperate .c/.h pairs for larger changes (for instance dialog and menubar
creation are each in their own file, with the same stubs so whichever I
include I can use)

thanks
-chris

*************************************************************
Christopher Rogers      Stevens Institute of Technology
gandalf@pobox.com       http://www.pobox.com/~gandalf
Find my PGP PublicKey - http://www.pobox.com/~gandalf/CDR.asc
*************************************************************



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