[glib] rename gsettingsschema.h to -internal.h
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] rename gsettingsschema.h to -internal.h
- Date: Thu, 17 Nov 2011 14:04:10 +0000 (UTC)
commit 11ef4d7981d81746d25296e3336a390f1a3330a8
Author: Ryan Lortie <desrt desrt ca>
Date: Sun Nov 13 21:41:01 2011 +0100
rename gsettingsschema.h to -internal.h
gio/gsettings.c | 2 +-
...settingsschema.h => gsettingsschema-internal.h} | 10 +++-------
gio/gsettingsschema.c | 2 +-
3 files changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/gio/gsettings.c b/gio/gsettings.c
index 95a5c1a..6d18d1f 100644
--- a/gio/gsettings.c
+++ b/gio/gsettings.c
@@ -31,7 +31,7 @@
#include "gdelayedsettingsbackend.h"
#include "gsettingsbackendinternal.h"
#include "gsettings-mapping.h"
-#include "gsettingsschema.h"
+#include "gsettingsschema-internal.h"
#include <string.h>
diff --git a/gio/gsettingsschema.h b/gio/gsettingsschema-internal.h
similarity index 94%
rename from gio/gsettingsschema.h
rename to gio/gsettingsschema-internal.h
index af0f8bd..59384a9 100644
--- a/gio/gsettingsschema.h
+++ b/gio/gsettingsschema-internal.h
@@ -17,13 +17,11 @@
* Boston, MA 02111-1307, USA.
*/
-#ifndef __G_SETTINGS_SCHEMA_H__
-#define __G_SETTINGS_SCHEMA_H__
+#ifndef __G_SETTINGS_SCHEMA_INTERNAL_H__
+#define __G_SETTINGS_SCHEMA_INTERNAL_H__
#include <glib.h>
-G_BEGIN_DECLS
-
typedef struct _GSettingsSchema GSettingsSchema;
G_GNUC_INTERNAL
@@ -49,6 +47,4 @@ G_GNUC_INTERNAL
const gchar * g_settings_schema_get_string (GSettingsSchema *schema,
const gchar *key);
-G_END_DECLS
-
-#endif /* __G_SETTINGS_SCHEMA_H__ */
+#endif /* __G_SETTINGS_SCHEMA_INTERNAL_H__ */
diff --git a/gio/gsettingsschema.c b/gio/gsettingsschema.c
index 9c79482..ea776fc 100644
--- a/gio/gsettingsschema.c
+++ b/gio/gsettingsschema.c
@@ -19,7 +19,7 @@
#include "config.h"
-#include "gsettingsschema.h"
+#include "gsettingsschema-internal.h"
#include "gsettings.h"
#include "gvdb/gvdb-reader.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]