X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fvariable-info-dialog.c;h=cbc4d5cadb97eedc10b929e4532da9e820d7df3d;hb=a9a69251edd625a50f271af5d64c157533b5fe48;hp=11cee3e5d78a84b73d4e6ff63f5e85d9eed89cf3;hpb=7c2fa3735ac1115b6c1ad4b5e0613673de2faf4c;p=pspp-builds.git diff --git a/src/ui/gui/variable-info-dialog.c b/src/ui/gui/variable-info-dialog.c index 11cee3e5..cbc4d5ca 100644 --- a/src/ui/gui/variable-info-dialog.c +++ b/src/ui/gui/variable-info-dialog.c @@ -65,7 +65,7 @@ populate_text (PsppireDictView *treeview, gpointer data) if ( var == NULL) return; - g_object_get (treeview, "dictionary", &dict, + g_object_get (treeview, "model", &dict, NULL); gstring = g_string_sized_new (200); @@ -165,7 +165,7 @@ variable_info_dialog (GObject *o, gpointer 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);