[gnome-online-accounts/rhel-7.1: 3/34] kerberos: make enum_class in register_error_domain const



commit 51b191fb86f0b9b621fc72a07b000352d4f078a7
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 9206099..abc8e2d 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]