---
 src/preferences.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/preferences.c b/src/preferences.c
index 386f667..f07f669 100644
--- a/src/preferences.c
+++ b/src/preferences.c
@@ -212,7 +212,7 @@ void a_preferences_run_setparam ( VikLayerParamData data, 
VikLayerParam *params
   preferences_run_setparam (NULL, 0, data, params);
 }
 
-static VikLayerParamData preferences_run_getparam ( gpointer notused, guint16 
i )
+static VikLayerParamData preferences_run_getparam ( gpointer notused, guint16 
i, gboolean notused2 )
 {
   VikLayerTypedParamData *val = (VikLayerTypedParamData *) g_hash_table_lookup 
( values, ((VikLayerParam *)g_ptr_array_index(params,i))->name );
   g_assert ( val != NULL );
@@ -266,7 +266,7 @@ void a_preferences_show_window(GtkWindow *parent) {
     preferences_load_from_file();
     if ( a_uibuilder_properties_factory ( _("Preferences"), parent, 
contiguous_params, params_count,
                                (gchar **) groups_names->pdata, 
groups_names->len, // groups, groups_count, // groups? what groups?!
-                                (gboolean (*) 
(gpointer,guint16,VikLayerParamData,gpointer)) preferences_run_setparam,
+                               (gboolean (*) 
(gpointer,guint16,VikLayerParamData,gpointer,gboolean)) 
preferences_run_setparam,
                                NULL /* not used */, contiguous_params,
                                 preferences_run_getparam, NULL /* not used */ 
) ) {
       a_preferences_save_to_file();
-- 
1.7.1


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/

Reply via email to