summaryrefslogtreecommitdiff
path: root/client/dconf-client.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/dconf-client.h')
-rw-r--r--client/dconf-client.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/client/dconf-client.h b/client/dconf-client.h
index d15d2ce..e37c615 100644
--- a/client/dconf-client.h
+++ b/client/dconf-client.h
@@ -26,13 +26,7 @@
G_BEGIN_DECLS
#define DCONF_TYPE_CLIENT (dconf_client_get_type ())
-#define DCONF_CLIENT(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), DCONF_TYPE_CLIENT, DConfClient))
-#define DCONF_IS_CLIENT(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), DCONF_TYPE_CLIENT))
-
-typedef GObjectClass DConfClientClass;
-typedef struct _DConfClient DConfClient;
-
-GType dconf_client_get_type (void);
+G_DECLARE_FINAL_TYPE(DConfClient, dconf_client, DCONF, CLIENT, GObject)
DConfClient * dconf_client_new (void);
@@ -85,6 +79,7 @@ void dconf_client_unwatch_sync (DConfCl
void dconf_client_sync (DConfClient *client);
+
G_END_DECLS
#endif /* __dconf_client_h__ */