Can't you use:
namespace _gtk {
#include <gtk/gtk.h>
}? It's always possible to add "using" declarations into gtkmm headers, if source-level compat has to be retained. Just an idea, though. Don't know if this is feasible. Thanks! Matteo Il giorno mer, 19/11/2008 alle 14.48 +0100, Murray Cumming ha scritto: > On Wed, 2008-11-19 at 14:07 +0100, Matteo Settenvini wrote: > > Hello, > > > > just want to know: does this policy also applies to Gtkmm includes? > > I mean, if I've got an application written in C++, should I only include > > "gtkmm.h"? > > No, I have no plan to make that necessary with gtkmm. It would > needlessly increase executable sizes with no benefit. > > I don't really believe it's necessary for C either, but that discussion > is over. Unfortunately it means that we must include gtk.h instea of > gtksomethingspecific.h in several gtkmm headers, poluting the global > namespace. > >
signature.asc
Description: Questa รจ una parte del messaggio firmata digitalmente
_______________________________________________ desktop-devel-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/desktop-devel-list
