Re: how to remove deprecated widgets - downsizing GTK



Durai wrote:
Hi all,
I am working on a project which does not require many of the widgets in GTK. Also I have strict space constraints. I want to
1. Remove all deprecated widgets
2. Remove unneeded widgets for my application
3. Remove unneeded stock icons (if possible, all stock icons)

    I wonder if you could accomplish such a thing by simply
compiling the GTK libraries into your UI app staticly, if I'm not
mistaken; gcc will only link in symbols and code segments from
a static archive if they are referenced by other code segments
in preceeding objects on the linker command line (maybe you'll
need some objcopy --strip-somthingorother magic post linking ?).

Hmmm, if the above works... it wont do anything for stock icons though
(but hacking the GTK+ build to build without stock icons seems alot
easier then manually removing code).

Otherwise it looks like an excersize of rewriting the makefiles and
maybe modifying source code... seems that the *_DISABLE_DEPRECATED
flags are only usefull in client builds (they dont effect the
GTK+ build from what I see).

Cheers,
                   -Tristan



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