#include <stdlib.h>
#include "psppire-dialog.h"
#include "builder-wrapper.h"
+#include "helper.h"
#include "gettext.h"
#define _(msgid) gettext (msgid)
gtk_tree_model_row_changed (model, rows->data, &iter);
finish:
- g_list_foreach (rows, (GFunc) gtk_tree_path_free, NULL);
+ g_list_foreach (rows, GFUNC_COMPAT_CAST (gtk_tree_path_free), NULL);
g_list_free (rows);
+ var_unref (var);
}
if (0 == strcmp ("", text))
valid = FALSE;
- else if (psppire_dict_lookup_var (rd->dict, text))
+ else if (psppire_dict_lookup_var (PSPPIRE_DIALOG_ACTION (rd)->dict, text))
valid = FALSE;
else
{
gtk_widget_set_sensitive (rd->change_button, FALSE);
}
- g_list_foreach (rows, (GFunc) gtk_tree_path_free, NULL);
+ g_list_foreach (rows, GFUNC_COMPAT_CAST (gtk_tree_path_free), NULL);
g_list_free (rows);
}