summaryrefslogtreecommitdiff
path: root/gio/gsettingsschema.h
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2011-11-13 21:38:31 +0100
committerRyan Lortie <desrt@desrt.ca>2011-11-17 14:03:38 +0000
commit577faeae5bcdff8431c298c9275bf7703d8b6a22 (patch)
treec8feab5878fad4b2b0f972a1fdc08698c8010cbd /gio/gsettingsschema.h
parenteaaf18960f84989cfe2ac927ad5e19a0c56524de (diff)
downloadglib-577faeae5bcdff8431c298c9275bf7703d8b6a22.tar.gz
unGObjectify GSettingsSchema
Diffstat (limited to 'gio/gsettingsschema.h')
-rw-r--r--gio/gsettingsschema.h34
1 files changed, 5 insertions, 29 deletions
diff --git a/gio/gsettingsschema.h b/gio/gsettingsschema.h
index 31ba1f4f8..af0f8bdc5 100644
--- a/gio/gsettingsschema.h
+++ b/gio/gsettingsschema.h
@@ -20,43 +20,19 @@
#ifndef __G_SETTINGS_SCHEMA_H__
#define __G_SETTINGS_SCHEMA_H__
-#include <glib-object.h>
+#include <glib.h>
G_BEGIN_DECLS
-#define G_TYPE_SETTINGS_SCHEMA (g_settings_schema_get_type ())
-#define G_SETTINGS_SCHEMA(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
- G_TYPE_SETTINGS_SCHEMA, GSettingsSchema))
-#define G_SETTINGS_SCHEMA_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), \
- G_TYPE_SETTINGS_SCHEMA, GSettingsSchemaClass))
-#define G_IS_SETTINGS_SCHEMA(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
- G_TYPE_SETTINGS_SCHEMA))
-#define G_IS_SETTINGS_SCHEMA_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), \
- G_TYPE_SETTINGS_SCHEMA))
-#define G_SETTINGS_SCHEMA_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), \
- G_TYPE_SETTINGS_SCHEMA, GSettingsSchemaClass))
-
-typedef struct _GSettingsSchemaPrivate GSettingsSchemaPrivate;
-typedef struct _GSettingsSchemaClass GSettingsSchemaClass;
typedef struct _GSettingsSchema GSettingsSchema;
-struct _GSettingsSchemaClass
-{
- GObjectClass parent_class;
-};
-
-struct _GSettingsSchema
-{
- GObject parent_instance;
-
- GSettingsSchemaPrivate *priv;
-};
-
-G_GNUC_INTERNAL
-GType g_settings_schema_get_type (void);
G_GNUC_INTERNAL
GSettingsSchema * g_settings_schema_new (const gchar *name);
G_GNUC_INTERNAL
+GSettingsSchema * g_settings_schema_ref (GSettingsSchema *schema);
+G_GNUC_INTERNAL
+void g_settings_schema_unref (GSettingsSchema *schema);
+G_GNUC_INTERNAL
const gchar * g_settings_schema_get_path (GSettingsSchema *schema);
G_GNUC_INTERNAL
const gchar * g_settings_schema_get_gettext_domain (GSettingsSchema *schema);