change_var_property: Make parameter const
authorJohn Darrington <john@darrington.wattle.id.au>
Fri, 7 Apr 2017 15:00:59 +0000 (17:00 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Fri, 7 Apr 2017 15:00:59 +0000 (17:00 +0200)
src/ui/gui/psppire-data-editor.c

index b8aec15e860264d524dc9fa458072624425ebf24..65e25a51d63357d16bce0a581ca6cbfbe52ba6b4 100644 (file)
@@ -243,7 +243,7 @@ psppire_data_editor_refresh_model (PsppireDataEditor *de)
 }
 
 static void
-change_var_property (PsppireDict *dict, gint col, gint row, GValue *value)
+change_var_property (PsppireDict *dict, gint col, gint row, const GValue *value)
 {
   /* Return the IDXth variable */
   struct variable *var =  psppire_dict_get_variable (dict, row);