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:
@ -5,9 +5,10 @@
|
|||||||
* This example uses GtkUIManager and GtkActionGroup.
|
* This example uses GtkUIManager and GtkActionGroup.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
#include <gtk/gtk.h>
|
||||||
|
|
||||||
static GtkWidget *window = NULL;
|
static GtkWidget *window = NULL;
|
||||||
static GtkWidget *infobar = NULL;
|
static GtkWidget *infobar = NULL;
|
||||||
static GtkWidget *messagelabel = NULL;
|
static GtkWidget *messagelabel = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user