Re: Disable deprecated api?
- From: Murray Cumming <murrayc murrayc com>
- To: sledge hammer <sledgehammer_999 hotmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Disable deprecated api?
- Date: Sun, 07 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]