X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=src%2Fui%2Fgui%2Fvariable-info-dialog.c;h=3b3367f75c7b6dafe7309ec1e1c31f7efc27cad3;hb=e93305aff3e79fd7b810d180cb71c080ad6d5b96;hp=a53d6a5cf0a09264189a98a525a79c48f70c80d0;hpb=dd5535725f86158e55b3fc263c17058005b0c0a5;p=pspp-builds.git diff --git a/src/ui/gui/variable-info-dialog.c b/src/ui/gui/variable-info-dialog.c index a53d6a5c..3b3367f7 100644 --- 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; - 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); @@ -82,13 +82,13 @@ populate_text (PsppireDictView *treeview, gpointer data) 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"); - text = label_to_string (var, NULL); + text = label_to_string (var, dict); g_string_append_printf (gstring, _("Label: %s\n"), text); g_free (text);