[gtk+] gtk-demo: Include config.h first
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtk-demo: Include config.h first
- Date: Sun, 5 May 2013 19:38:28 +0000 (UTC)
commit 265e617f0ae28572fe1295f941b71a7f2821583c
Author: Matthias Clasen <mclasen redhat com>
Date: Sun May 5 12:16:51 2013 -0400
gtk-demo: Include config.h first
If config.h is included after gdkversionmacros.h, _GDK_EXTERN
gets redefined and cpp doesn't like that.
demos/gtk-demo/appwindow.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/demos/gtk-demo/appwindow.c b/demos/gtk-demo/appwindow.c
index 849a3f1..df4d06b 100644
--- a/demos/gtk-demo/appwindow.c
+++ b/demos/gtk-demo/appwindow.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]