gtk: Get rid of deprecation warnings

This commit is contained in:
Benjamin Otte 2012-04-30 20:44:25 +02:00
parent de9ffc99c2
commit 4531da17e4
2 changed files with 10 additions and 0 deletions

View File

@ -44,6 +44,11 @@
#include "gtkmenushellprivate.h"
#include "gtkprivate.h"
#undef GDK_DEPRECATED
#undef GDK_DEPRECATED_FOR
#define GDK_DEPRECATED
#define GDK_DEPRECATED_FOR(f)
#include "deprecated/gtktearoffmenuitem.h"
/* GObjectClass */

View File

@ -45,6 +45,11 @@
#include "gtkwindow.h"
#include "gtkprivate.h"
#undef GDK_DEPRECATED
#undef GDK_DEPRECATED_FOR
#define GDK_DEPRECATED
#define GDK_DEPRECATED_FOR(f)
#include "gtkuimanager.h"
#include "deprecated/gtktearoffmenuitem.h"