[json-glib] Adapt to the demise of single includes in GLib
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [json-glib] Adapt to the demise of single includes in GLib
- Date: Wed, 12 Oct 2011 11:18:39 +0000 (UTC)
commit f904ad102004258dc7b839b93a7904517cc4c623
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Oct 12 07:15:23 2011 -0400
Adapt to the demise of single includes in GLib
json-glib/json-scanner.h | 4 +---
json-glib/tests/gvariant.c | 2 +-
json-glib/tests/node.c | 2 +-
3 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/json-glib/json-scanner.h b/json-glib/json-scanner.h
index 49d7b1e..e3df02c 100644
--- a/json-glib/json-scanner.h
+++ b/json-glib/json-scanner.h
@@ -34,9 +34,7 @@
#ifndef __JSON_SCANNER_H__
#define __JSON_SCANNER_H__
-#include <glib/gdataset.h>
-#include <glib/ghash.h>
-#include <glib/gscanner.h>
+#include <glib.h>
G_BEGIN_DECLS
diff --git a/json-glib/tests/gvariant.c b/json-glib/tests/gvariant.c
index 0dbccdf..074dd69 100644
--- a/json-glib/tests/gvariant.c
+++ b/json-glib/tests/gvariant.c
@@ -1,4 +1,4 @@
-#include <glib/gtestutils.h>
+#include <glib.h>
#include <json-glib/json-glib.h>
#include <string.h>
diff --git a/json-glib/tests/node.c b/json-glib/tests/node.c
index da979a4..0c2fd9b 100644
--- a/json-glib/tests/node.c
+++ b/json-glib/tests/node.c
@@ -1,4 +1,4 @@
-#include <glib/gtestutils.h>
+#include <glib.h>
#include <json-glib/json-glib.h>
#include <string.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]