[gnome-online-accounts/wip/rishi/port-to-g-declare: 3/8] 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: 3/8] kerberos-identity-inquiry: Use G_DECLARE_FINAL_TYPE
- Date: Mon, 16 Dec 2019 16:12:21 +0000 (UTC)
commit c1f6aa472abbdc98739b60054eca1730dd10bec8
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 | 7 +------
2 files changed, 1 insertion(+), 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 3f8828fe..9500b00f 100644
--- a/src/goaidentity/goakerberosidentityinquiry.h
+++ b/src/goaidentity/goakerberosidentityinquiry.h
@@ -29,10 +29,7 @@
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 enum
{
@@ -40,8 +37,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]