#undef GTK_DISABLE_DEPRECATED
2004-11-04 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpoldwidgets.c: #undef GTK_DISABLE_DEPRECATED * libgimpwidgets/gimpunitmenu.h: #include <gtk/gtkoptionmenu.h> explicitely and #undef GTK_DISABLE_DEPRECATED only around the inclusion if it was defined before.
This commit is contained in:

committed by
Michael Natterer

parent
5c0c2a4189
commit
01bc7c92b9
@ -23,6 +23,14 @@
|
||||
#ifndef __GIMP_UNIT_MENU_H__
|
||||
#define __GIMP_UNIT_MENU_H__
|
||||
|
||||
#ifdef GTK_DISABLE_DEPRECATED
|
||||
#undef GTK_DISABLE_DEPRECATED
|
||||
#include <gtk/gtkoptionmenu.h>
|
||||
#define GTK_DISABLE_DEPRECATED
|
||||
#else
|
||||
#include <gtk/gtkoptionmenu.h>
|
||||
#endif
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/* For information look into the C source or the html documentation */
|
||||
|
Reference in New Issue
Block a user