[gnome-online-accounts/wip/rishi/port-to-g-declare] kerberos-identity: Style fixes
- 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: Style fixes
- Date: Mon, 16 Dec 2019 13:52:10 +0000 (UTC)
commit 11b2afd52494ec061b5b44d0841affe8e649aed2
Author: Debarshi Ray <debarshir gnome org>
Date: Mon Dec 16 14:40:22 2019 +0100
kerberos-identity: Style fixes
https://gitlab.gnome.org/GNOME/gnome-online-accounts/merge_requests/40
src/goaidentity/goakerberosidentity.h | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/src/goaidentity/goakerberosidentity.h b/src/goaidentity/goakerberosidentity.h
index 4cc435bc..de0752cd 100644
--- a/src/goaidentity/goakerberosidentity.h
+++ b/src/goaidentity/goakerberosidentity.h
@@ -26,17 +26,16 @@
#include "goaidentityinquiry.h"
G_BEGIN_DECLS
-#define GOA_TYPE_KERBEROS_IDENTITY (goa_kerberos_identity_get_type ())
+
+#define GOA_TYPE_KERBEROS_IDENTITY (goa_kerberos_identity_get_type ())
G_DECLARE_FINAL_TYPE (GoaKerberosIdentity, goa_kerberos_identity, GOA, KERBEROS_IDENTITY, GObject);
-typedef enum _GoaKerberosIdentityDescriptionLevel
- GoaKerberosIdentityDescriptionLevel;
-enum _GoaKerberosIdentityDescriptionLevel
+typedef enum
{
GOA_KERBEROS_IDENTITY_DESCRIPTION_REALM,
GOA_KERBEROS_IDENTITY_DESCRIPTION_USERNAME_AND_REALM,
GOA_KERBEROS_IDENTITY_DESCRIPTION_USERNAME_ROLE_AND_REALM
-};
+} GoaKerberosIdentityDescriptionLevel;
GoaIdentity *goa_kerberos_identity_new (krb5_context kerberos_context,
krb5_ccache cache,
@@ -62,5 +61,7 @@ gboolean goa_kerberos_identity_erase (GoaKerberosIdentity *self,
char *goa_kerberos_identity_get_principal_name (GoaKerberosIdentity *self);
char *goa_kerberos_identity_get_realm_name (GoaKerberosIdentity *self);
char *goa_kerberos_identity_get_preauthentication_source (GoaKerberosIdentity *self);
+
G_END_DECLS
+
#endif /* __GOA_KERBEROS_IDENTITY_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]