[gnome-online-accounts/wip/rishi/port-to-g-declare] kerberos-identity-inquiry: Use G_DECLARE_FINAL_TYPE
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/wip/rishi/port-to-g-declare] kerberos-identity-inquiry: Use G_DECLARE_FINAL_TYPE
- Date: Mon, 16 Dec 2019 15:23:05 +0000 (UTC)
commit cacefa6910703a9a9eb804bc97443a0b23aba8bf
Author: Debarshi Ray <debarshir gnome org>
Date: Mon Dec 16 16:22:09 2019 +0100
kerberos-identity-inquiry: Use G_DECLARE_FINAL_TYPE
https://gitlab.gnome.org/GNOME/gnome-online-accounts/merge_requests/40
src/goaidentity/goakerberosidentityinquiry.c | 5 -----
src/goaidentity/goakerberosidentityinquiry.h | 8 ++------
2 files changed, 2 insertions(+), 11 deletions(-)
---
diff --git a/src/goaidentity/goakerberosidentityinquiry.c b/src/goaidentity/goakerberosidentityinquiry.c
index 2bb49451..42d52c5b 100644
--- a/src/goaidentity/goakerberosidentityinquiry.c
+++ b/src/goaidentity/goakerberosidentityinquiry.c
@@ -37,11 +37,6 @@ struct _GoaKerberosIdentityInquiry
gboolean is_failed;
};
-struct _GoaKerberosIdentityInquiryClass
-{
- GObjectClass parent_class;
-};
-
typedef struct
{
GoaIdentityInquiry *inquiry;
diff --git a/src/goaidentity/goakerberosidentityinquiry.h b/src/goaidentity/goakerberosidentityinquiry.h
index fa42a2da..1553a322 100644
--- a/src/goaidentity/goakerberosidentityinquiry.h
+++ b/src/goaidentity/goakerberosidentityinquiry.h
@@ -29,10 +29,8 @@
G_BEGIN_DECLS
#define GOA_TYPE_KERBEROS_IDENTITY_INQUIRY (goa_kerberos_identity_inquiry_get_type ())
-#define GOA_KERBEROS_IDENTITY_INQUIRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
GOA_TYPE_KERBEROS_IDENTITY_INQUIRY, GoaKerberosIdentityInquiry))
-#define GOA_IS_KERBEROS_IDENTITY_INQUIRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
GOA_TYPE_KERBEROS_IDENTITY_INQUIRY))
-typedef struct _GoaKerberosIdentityInquiry GoaKerberosIdentityInquiry;
-typedef struct _GoaKerberosIdentityInquiryClass GoaKerberosIdentityInquiryClass;
+G_DECLARE_FINAL_TYPE (GoaKerberosIdentityInquiry, goa_kerberos_identity_inquiry, GOA,
KERBEROS_IDENTITY_INQUIRY, GObject);
+
typedef struct _GoaKerberosIdentityInquiryIter GoaKerberosIdentityInquiryIter;
typedef enum
@@ -41,8 +39,6 @@ typedef enum
GOA_KERBEROS_IDENTITY_QUERY_MODE_VISIBLE
} GoaKerberosIdentityQueryMode;
-GType goa_kerberos_identity_inquiry_get_type (void);
-
GoaIdentityInquiry *goa_kerberos_identity_inquiry_new (GoaKerberosIdentity *identity,
const char *name,
const char *banner,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]