summaryrefslogtreecommitdiff
path: root/cpufreq
diff options
context:
space:
mode:
authorAlbert Damen <albrt@gmx.net>2009-03-08 19:44:52 +0000
committerCarlos Garcia Campos <carlosgc@src.gnome.org>2009-03-08 19:44:52 +0000
commit84fe82bebbe57662a5df9053149df31b4c812c01 (patch)
tree2d7325eebe82d36f3fda4284dee43a3864695976 /cpufreq
parentf8ee1544018d013b1d6df3bff6609ac44ebdb465 (diff)
Make enum error values array static. Fixes bug #573762.
2009-03-08 Albert Damen <albrt@gmx.net> * src/cpufreq-selector/cpufreq-selector-service.c: Make enum error values array static. Fixes bug #573762. svn path=/trunk/; revision=11329
Diffstat (limited to 'cpufreq')
-rw-r--r--cpufreq/ChangeLog5
-rw-r--r--cpufreq/src/cpufreq-selector/cpufreq-selector-service.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/cpufreq/ChangeLog b/cpufreq/ChangeLog
index 22a3a0478..4831a52e2 100644
--- a/cpufreq/ChangeLog
+++ b/cpufreq/ChangeLog
@@ -1,3 +1,8 @@
+2009-03-08 Albert Damen <albrt@gmx.net>
+
+ * src/cpufreq-selector/cpufreq-selector-service.c: Make enum error
+ values array static. Fixes bug #573762.
+
==================== 2.25.92 ======================
==================== 2.25.91 ======================
diff --git a/cpufreq/src/cpufreq-selector/cpufreq-selector-service.c b/cpufreq/src/cpufreq-selector/cpufreq-selector-service.c
index f87e096ab..3308f6769 100644
--- a/cpufreq/src/cpufreq-selector/cpufreq-selector-service.c
+++ b/cpufreq/src/cpufreq-selector/cpufreq-selector-service.c
@@ -54,7 +54,7 @@ cpufreq_selector_service_error_get_type (void)
static GType etype = 0;
if (G_UNLIKELY (etype == 0)) {
- const GEnumValue values[] = {
+ static const GEnumValue values[] = {
{ SERVICE_ERROR_GENERAL, "SERVICE_ERROR_GENERAL", "GeneralError" },
{ SERVICE_ERROR_DBUS, "SERVICE_ERROR_DBUS", "DBUSError" },
{ SERVICE_ERROR_ALREADY_REGISTERED, "SERVICE_ERROR_ALREADY_REGISTERED", "AlreadyRegistered" },