Re: Usage of GTK+ headers

2005-10-13 Thread Kalle Vahlman
2005/10/12, Dan Winship [EMAIL PROTECTED]: Kalle Vahlman wrote: 2005/10/12, Owen Taylor [EMAIL PROTECTED]: But we'd prefer that people included the main headers gtk/gtk.h gdk/gdk.h gdk-pixbuf/gdk-pixbuf.h, etc. ... Is there any reason to do otherwise? Evolution switched from using

Re: Usage of GTK+ headers

2005-10-13 Thread Mikael Hallendal
Kalle Vahlman wrote: 2005/10/12, Dan Winship [EMAIL PROTECTED]: Kalle Vahlman wrote: Is there any reason to do otherwise? Evolution switched from using the main headers to using specific headers a few years ago to speed up the compile time (substantially). I think some other apps do this as

Re: Usage of GTK+ headers

2005-10-13 Thread Mike Hearn
On Wed, 12 Oct 2005 14:55:32 -0400, Dan Winship wrote: Evolution switched from using the main headers to using specific headers a few years ago to speed up the compile time (substantially). I think some other apps do this as well. These days the opposite will be true - you can precompile the

Re: Usage of GTK+ headers

2005-10-13 Thread Kalle Vahlman
2005/10/13, Mikael Hallendal [EMAIL PROTECTED]: Kalle Vahlman wrote: I meant things that matter. (compile time is not a signifcant metric for software quality in my book) What do you mean? I mean I care about things visible to the user, not the developer (alhough I *am* making stuff for

Re: Usage of GTK+ headers

2005-10-13 Thread Tor Lillqvist
Kalle Vahlman writes: I calculate that it takes more time to figure out what header provides this and that every time you decide to add a feature which will need a header not included yet than to just use the toplevels and face the compilation time penalty. I agree. And few developers

Re: Usage of GTK+ headers

2005-10-12 Thread Tristan Van Berkom
Banginwar, Rajesh wrote: Hello, Many of the GTK+ libraries have one or more top level header files. E.g. Glib has glib.h, gdk-pixbuf has two gdk-data.h and gdk-pixbuf.h and so on... My question is about what applications typically use? Do they use just the top level header only? Or

Re: Usage of GTK+ headers

2005-10-12 Thread Tristan Van Berkom
Banginwar, Rajesh wrote: Hello, Many of the GTK+ libraries have one or more top level header files. E.g. Glib has glib.h, gdk-pixbuf has two gdk-data.h and gdk-pixbuf.h and so on... My question is about what applications typically use? Do they use just the top level header only? Or

Re: Usage of GTK+ headers

2005-10-12 Thread Owen Taylor
On Wed, 2005-10-12 at 10:47 -0400, Tristan Van Berkom wrote: Banginwar, Rajesh wrote: Hello, Many of the GTK+ libraries have one or more top level header files. E.g. Glib has glib.h, gdk-pixbuf has two gdk-data.h and gdk-pixbuf.h and so on... My question is about what

Re: Usage of GTK+ headers

2005-10-11 Thread Matthias Clasen
On Tue, 2005-10-11 at 15:00 -0700, Banginwar, Rajesh wrote: Hello, Many of the GTK+ libraries have one or more top level header files. E.g. Glib has glib.h, gdk-pixbuf has two gdk-data.h and gdk-pixbuf.h and so on… My question is about what applications typically use? Do they