#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:
Michael Natterer 2004-11-04 11:58:16 +00:00 committed by Michael Natterer
parent 5c0c2a4189
commit 01bc7c92b9
3 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,11 @@
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.
2004-11-04 Michael Natterer <mitch@gimp.org>
* libgimp/gimpunitcache.h

View File

@ -24,6 +24,7 @@
#include <string.h>
#undef GTK_DISABLE_DEPRECATED
#include <gtk/gtk.h>
#include "gimpwidgetstypes.h"

View File

@ -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 */