Fixed minor memory leak.
[pspp-builds.git] / src / ui / gui / psppire-dict.h
index b36ccf9e6156297ade8b892e74ef3ef798f4ae47..96753ab5dcd7bc0d6a91237bcfb84e1751066471 100644 (file)
@@ -26,8 +26,8 @@
 #include <glib-object.h>
 #include <glib.h>
 
-#include <dictionary.h>
-#include <variable.h>
+#include <data/dictionary.h>
+#include <data/variable.h>
 
 
 G_BEGIN_DECLS
@@ -72,11 +72,6 @@ PsppireDict*     psppire_dict_new_from_dict (struct dictionary *d);
 void           psppire_dict_set_name (PsppireDict* s, gint idx, const gchar *name);
 void           psppire_dict_delete_var (PsppireDict *s, gint idx);
 
-/* Return the variable indexed by IDX.
-   returns NULL if IDX is not valid.
-*/
-struct variable *psppire_dict_get_var(PsppireDict *d, gint idx);
-
 /* Return the number of variables in the dictionary */
 gint psppire_dict_get_var_cnt(const PsppireDict *d);