Commit 01bc7c92 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

#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.
parent 5c0c2a41
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
......
......@@ -24,6 +24,7 @@
#include <string.h>
#undef GTK_DISABLE_DEPRECATED
#include <gtk/gtk.h>
#include "gimpwidgetstypes.h"
......
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment