diff options
-rw-r--r-- | cpufreq/ChangeLog | 5 | ||||
-rw-r--r-- | cpufreq/src/cpufreq-selector/cpufreq-selector-service.c | 2 |
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" }, |