RE: Disable deprecated api?



Is there any documentation about the possible #defines?

> Subject: Re: Disable deprecated api?
> From: murrayc murrayc com
> To: sledgehammer_999 hotmail com
> CC: gtkmm-list gnome org
> Date: Sun, 7 Feb 2010 14:04:04 +0100
>
> On Sun, 2010-02-07 at 14:19 +0200, sledge hammer wrote:
> > Is there any way to disable the use of deprecated gtkmm api by my
> > program? Or at least get a warning? (while compiling my source)
>
> Build with thse defined:
> GLIBMM_DISABLE_DEPRECATED
> GTKMM_DISABLE_DEPRECATED
> PANGOMM_DISABLE_DEPRECATED
> and maybe others
>
> For instance, you can pass -DGTKMM_DISABLE_DEPRECATED to gcc.
>
> Glom uses a macro to make this a configure option in configure.ac:
> http://git.gnome.org/browse/glom/tree/configure.ac?h=glom-1-12#n189
>
>
> --
> murrayc murrayc com
> www.murrayc.com
> www.openismus.com
>


Hotmail: Αξιόπιστο email με την ισχυρή προστασία ενάντια στην ανεπιθύμητη αλληλογραφία που παρέχει η Microsoft. Εγγραφείτε τώρα.


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