Re: The last of libgnomeui?



On Sun, 2005-06-12 at 23:13 +0100, Alan Horkan wrote:
> A quick
>   fgrep -r gnomeui *.*
> of the gnome-media source code returns few results outside of configure
> files.  Although I'm not entirely sure I think it might now be be possible
> to remove the libgnomeui dependancy from gnome-media entirely.
> 
> I'm hoping some one more knowledgable might double check to see if this is
> in fact the case and possibly identify other unnecessary dependancies
> that might be trimmed next.

From a fresh checkout of cvs:

$ find . -name \*.[ch] | xargs grep -h include | grep gnome | grep -v profiles | grep -v vfs | grep -v "\-cd" | wc -l
45

There are 45 inclusions of headers from libgnome and libgnomeui (the
inverse greps ignore the gnome-vfs, gnome-cd, and audio profiles
headers).

A lot of these are gnome-i18n.h which can be trivially replaces with
gi18n.  GnomeAppBar, GnomeHelp, GnomeIconTheme and the GNOME macros
(probably the object helpers, replaced by G_DEFINE_TYPE).

Ross
-- 
Ross Burton                                 mail: ross burtonini com
                                          jabber: ross burtonini com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF

Attachment: signature.asc
Description: This is a digitally signed message part



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