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



commit bf0a00676b72e061b0e08e628901927050f8ab75
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 159b1d9..a1947d5 100644
--- a/src/goaidentity/goaidentityutils.c
+++ b/src/goaidentity/goaidentityutils.c
@@ -179,7 +179,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]