mousetweaks r48 - in trunk: . src



Author: gerdk
Date: Thu Jan 31 16:31:09 2008
New Revision: 48
URL: http://svn.gnome.org/viewvc/mousetweaks?rev=48&view=rev

Log:
2008-01-31 Gerd Kohlberger <gerdk svn gnome org>
	* mt-main.c: Fix critical gconf error.
	Threshold option is integer, not float.



Modified:
   trunk/ChangeLog
   trunk/src/mt-main.c

Modified: trunk/src/mt-main.c
==============================================================================
--- trunk/src/mt-main.c	(original)
+++ trunk/src/mt-main.c	Thu Jan 31 16:31:09 2008
@@ -323,7 +323,7 @@
     MTClosure *mt = (MTClosure *) data;
 
     if (g_str_equal (key, OPT_THRESHOLD))
-	mt->threshold = gconf_value_get_float (value);
+	mt->threshold = gconf_value_get_int (value);
     else if (g_str_equal (key, OPT_DELAY))
 	mt->delay_enabled = gconf_value_get_bool (value);
     else if (g_str_equal (key, OPT_DELAY_T))



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