[gnome-online-accounts] kerberos: make enum_class in register_error_domain const
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts] kerberos: make enum_class in register_error_domain const
- Date: Mon, 17 Mar 2014 14:05:10 +0000 (UTC)
commit 16bcb7cd39fa9bdf66f1153d8c896650f516afda
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]