mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
gtk-demo: Include config.h first
If config.h is included after gdkversionmacros.h, _GDK_EXTERN gets redefined and cpp doesn't like that.
This commit is contained in:
parent
0b3461ff1b
commit
265e617f0a
@ -5,9 +5,10 @@
|
||||
* This example uses GtkUIManager and GtkActionGroup.
|
||||
*/
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include "config.h"
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
static GtkWidget *window = NULL;
|
||||
static GtkWidget *infobar = NULL;
|
||||
static GtkWidget *messagelabel = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user