gnome-applets r11329 - in trunk/cpufreq: . src/cpufreq-selector



Author: carlosgc
Date: Sun Mar  8 19:44:52 2009
New Revision: 11329
URL: http://svn.gnome.org/viewvc/gnome-applets?rev=11329&view=rev

Log:
2009-03-08  Albert Damen  <albrt gmx net>

	* src/cpufreq-selector/cpufreq-selector-service.c: Make enum error 
	values array static. Fixes bug #573762.



Modified:
   trunk/cpufreq/ChangeLog
   trunk/cpufreq/src/cpufreq-selector/cpufreq-selector-service.c

Modified: trunk/cpufreq/src/cpufreq-selector/cpufreq-selector-service.c
==============================================================================
--- trunk/cpufreq/src/cpufreq-selector/cpufreq-selector-service.c	(original)
+++ trunk/cpufreq/src/cpufreq-selector/cpufreq-selector-service.c	Sun Mar  8 19:44:52 2009
@@ -54,7 +54,7 @@
 	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" },



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]