treewide: Use struct fmt_spec by value instead of pointer in most cases.
[pspp] / src / ui / gui / psppire-value-entry.h
index 940de30b27cbc0bc8f632b7a9195ec425c0e34ef..88c08a1eb09daa4c5e09d9e3afed1cf9447fb666 100644 (file)
@@ -83,10 +83,8 @@ void psppire_value_entry_set_value_labels (PsppireValueEntry *,
 const struct val_labs *
 psppire_value_entry_get_value_labels (const PsppireValueEntry *);
 
-void psppire_value_entry_set_format (PsppireValueEntry *,
-                                     const struct fmt_spec *);
-const struct fmt_spec *
-psppire_value_entry_get_format (const PsppireValueEntry *);
+void psppire_value_entry_set_format (PsppireValueEntry *, struct fmt_spec);
+struct fmt_spec psppire_value_entry_get_format (const PsppireValueEntry *);
 
 void psppire_value_entry_set_encoding (PsppireValueEntry *, const gchar *);
 const gchar *psppire_value_entry_get_encoding (const PsppireValueEntry *);