summaryrefslogtreecommitdiff
path: root/daemon/gdm-session-solaris-auditor.h
diff options
context:
space:
mode:
authorNiels De Graef <nielsdegraef@gmail.com>2018-12-23 18:49:49 +0100
committerNiels De Graef <nielsdegraef@gmail.com>2018-12-25 12:46:11 +0100
commitd8bdcd1be1ea59329024db04258cada956291bbc (patch)
tree44c293c6253f422205e87b0e885cac3eed0d7d89 /daemon/gdm-session-solaris-auditor.h
parent1ab87a8668fbef43e71f629d73971ac1667e1e66 (diff)
downloadgdm-d8bdcd1be1ea59329024db04258cada956291bbc.tar.gz
session-solaris-wayland: Use G_DECLARE_FINAL_TYPE
Diffstat (limited to 'daemon/gdm-session-solaris-auditor.h')
-rw-r--r--daemon/gdm-session-solaris-auditor.h25
1 files changed, 2 insertions, 23 deletions
diff --git a/daemon/gdm-session-solaris-auditor.h b/daemon/gdm-session-solaris-auditor.h
index 1a3dad68..dd585325 100644
--- a/daemon/gdm-session-solaris-auditor.h
+++ b/daemon/gdm-session-solaris-auditor.h
@@ -32,31 +32,10 @@
#include "gdm-session-auditor.h"
G_BEGIN_DECLS
-#define GDM_TYPE_SESSION_SOLARIS_AUDITOR (gdm_session_solaris_auditor_get_type ())
-#define GDM_SESSION_SOLARIS_AUDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GDM_TYPE_SESSION_SOLARIS_AUDITOR, GdmSessionSolarisAuditor))
-#define GDM_SESSION_SOLARIS_AUDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDM_TYPE_SESSION_SOLARIS_AUDITOR, GdmSessionSolarisAuditorClass))
-#define GDM_IS_SESSION_SOLARIS_AUDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GDM_TYPE_SESSION_SOLARIS_AUDITOR))
-#define GDM_IS_SESSION_SOLARIS_AUDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDM_TYPE_SESSION_SOLARIS_AUDITOR))
-#define GDM_SESSION_SOLARIS_AUDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GDM_TYPE_SESSION_SOLARIS_AUDITOR, GdmSessionSolarisAuditorClass))
-#define GDM_SESSION_SOLARIS_AUDITOR_ERROR (gdm_session_solaris_auditor_error_quark ())
-typedef struct _GdmSessionSolarisAuditor GdmSessionSolarisAuditor;
-typedef struct _GdmSessionSolarisAuditorClass GdmSessionSolarisAuditorClass;
-typedef struct _GdmSessionSolarisAuditorPrivate GdmSessionSolarisAuditorPrivate;
-
-struct _GdmSessionSolarisAuditor
-{
- GdmSessionAuditor parent;
- /*< private > */
- GdmSessionSolarisAuditorPrivate *priv;
-};
-
-struct _GdmSessionSolarisAuditorClass
-{
- GdmSessionAuditorClass parent_class;
-};
+#define GDM_TYPE_SESSION_SOLARIS_AUDITOR (gdm_session_solaris_auditor_get_type ())
+G_DECLARE_FINAL_TYPE (GdmSessionSolarisAuditor, gdm_session_solaris_auditor, GDM, SESSION_SOLARIS_AUDITOR, GdmSessionAuditor)
-GType gdm_session_solaris_auditor_get_type (void);
GdmSessionAuditor *gdm_session_solaris_auditor_new (const char *hostname,
const char *display_device);
G_END_DECLS