Add "dictionary" property to PsppireVarStore and use it.
[pspp-builds.git] / src / ui / gui / comments-dialog.c
index 923953a1514bd34e0d223144ed4d4aaec27107ed..02d6d96c763d3064840fe72ebcd6d590aaa4acf7 100644 (file)
@@ -145,7 +145,7 @@ comments_dialog (GObject *o, gpointer data)
   }
 
   cd.xml = xml;
-  cd.dict = vs->dict;
+  g_object_get (vs, "dictionary", &cd.dict, NULL);
 
   g_signal_connect (buffer, "mark-set",
                    G_CALLBACK (set_column_number), label);