#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
@ -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>
|
2004-11-04 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
* libgimp/gimpunitcache.h
|
* libgimp/gimpunitcache.h
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#undef GTK_DISABLE_DEPRECATED
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
|
|
||||||
#include "gimpwidgetstypes.h"
|
#include "gimpwidgetstypes.h"
|
||||||
|
@ -23,6 +23,14 @@
|
|||||||
#ifndef __GIMP_UNIT_MENU_H__
|
#ifndef __GIMP_UNIT_MENU_H__
|
||||||
#define __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
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
Reference in New Issue
Block a user