GTK debugger: Set GTK_DISABLE_DEPRECATED only for GTK 2.
The current code fails to compile otherwise with GTK 3. (was accidentially removed by prev commit)
This commit is contained in:
parent
eef84bbbfc
commit
af18912529
@ -17,7 +17,10 @@
|
||||
|
||||
#if BX_DEBUGGER && BX_DEBUGGER_GUI
|
||||
|
||||
#include <gtk/gtkversion.h>
|
||||
#if GTK_MAJOR_VERSION == (2)
|
||||
#define GTK_DISABLE_DEPRECATED
|
||||
#endif
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib.h>
|
||||
#include <pthread.h>
|
||||
|
Loading…
Reference in New Issue
Block a user