Cleaned up GUI, by objectifying the data editor. Removed a number of global variables.
[pspp-builds.git] / src / ui / gui / syntax-editor-source.c
index 53478d2027f51e4b2e584fbec84a6bd72416ea79..dcb644a3036107582ee597b794fce67f52e01d4d 100644 (file)
@@ -52,7 +52,7 @@ name (const struct getl_interface *i)
   const struct syntax_editor_source *ses =
     (const struct syntax_editor_source *) i;
 
-  return ses->se->name;
+  return window_name ((struct window_editor *) ses->se);
 }