Re-enable reporting of filename in syntax errors
[pspp-builds.git] / src / ui / gui / psppire-window.c
index b40ccf141c7bfbf8a07666cb0c55f0187518bbfa..c1333769802671d1fcd612cb3194ece3a38bffff 100644 (file)
@@ -378,7 +378,7 @@ const gchar *
 psppire_window_get_filename (PsppireWindow *w)
 {
   const gchar *name = NULL;
-  g_object_get (w, "filename", name, NULL);
+  g_object_get (w, "filename", &name, NULL);
   return name;
 }