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


-- 
[email protected]
www.murrayc.com
www.openismus.com

_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to