#include <config.h>
#include <gtk/gtk.h>
+#include "variable-info-dialog.h"
#include "var-display.h"
#include <data/variable.h>
#include <data/format.h>
if ( var == NULL)
return;
- g_object_get (treeview, "dictionary", &dict,
+ g_object_get (treeview, "model", &dict,
NULL);
gstring = g_string_sized_new (200);
text = measure_to_string (var, NULL);
g_string_append_printf (gstring, _("Measurement Level: %s\n"),
text);
- g_free (text);
-
/* Value Labels */
void
-variable_info_dialog (GObject *o, gpointer data)
+variable_info_dialog (gpointer data)
{
PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data);
gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (de));
g_object_get (vs, "dictionary", &dict, NULL);
- g_object_set (treeview, "dictionary", dict,
+ g_object_set (treeview, "model", dict,
"selection-mode", GTK_SELECTION_SINGLE,
NULL);