projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix memory leak in cmd_data_list().
[pspp-builds.git]
/
src
/
ui
/
gui
/
variable-info-dialog.c
diff --git
a/src/ui/gui/variable-info-dialog.c
b/src/ui/gui/variable-info-dialog.c
index a53d6a5cf0a09264189a98a525a79c48f70c80d0..3b3367f75c7b6dafe7309ec1e1c31f7efc27cad3 100644
(file)
--- a/
src/ui/gui/variable-info-dialog.c
+++ b/
src/ui/gui/variable-info-dialog.c
@@
-70,7
+70,7
@@
populate_text (PsppireDictView *treeview, gpointer data)
GString *gstring;
PsppireDict *dict;
GString *gstring;
PsppireDict *dict;
- GtkTextBuffer *textbuffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW(data));
+ GtkTextBuffer *textbuffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW
(data));
const struct variable *var =
psppire_dict_view_get_selected_variable (treeview);
const struct variable *var =
psppire_dict_view_get_selected_variable (treeview);
@@
-82,13
+82,13
@@
populate_text (PsppireDictView *treeview, gpointer data)
NULL);
gstring = g_string_sized_new (200);
NULL);
gstring = g_string_sized_new (200);
- text = name_to_string (var,
NULL
);
+ text = name_to_string (var,
dict
);
g_string_assign (gstring, text);
g_free (text);
g_string_append (gstring, "\n");
g_string_assign (gstring, text);
g_free (text);
g_string_append (gstring, "\n");
- text = label_to_string (var,
NULL
);
+ text = label_to_string (var,
dict
);
g_string_append_printf (gstring, _("Label: %s\n"), text);
g_free (text);
g_string_append_printf (gstring, _("Label: %s\n"), text);
g_free (text);