[gnome-online-accounts/gnome-3-10] kerberos: make enum_class in register_error_domain const



commit 93141e9eeaf205d04b4a090982c6739f5885be21
Author: Ray Strode <rstrode redhat com>
Date:   Mon Mar 17 09:59:12 2014 -0400

    kerberos: make enum_class in register_error_domain const
    
    Just as a defensive programming measure.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=726353

 src/goaidentity/goaidentityutils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/goaidentity/goaidentityutils.c b/src/goaidentity/goaidentityutils.c
index 68ec3c6..6732b31 100644
--- a/src/goaidentity/goaidentityutils.c
+++ b/src/goaidentity/goaidentityutils.c
@@ -182,7 +182,7 @@ goa_identity_utils_register_error_domain (GQuark error_domain,
   char *type_name = NULL;
   GType type;
   GTypeClass *type_class = NULL;
-  GEnumClass *enum_class;
+  const GEnumClass *enum_class;
   guint i;
 
   error_domain_string = g_quark_to_string (error_domain);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]