New file: builder-wrapper.h and builder-wrapper.c
[pspp-builds.git] / src / ui / gui / transpose-dialog.c
index c2169a53763432e1f0295a74adb627ea4940692c..f91b55258c1a05bbe14c57aea5bde10287978ea0 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPPIRE - a graphical user interface for PSPP.
-   Copyright (C) 2007, 2010  Free Software Foundation
+   Copyright (C) 2007, 2010, 2011, 2012  Free Software Foundation
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -23,6 +23,7 @@
 #include "executor.h"
 #include "psppire-data-window.h"
 #include "dict-display.h"
+#include "builder-wrapper.h"
 #include "helper.h"
 
 #include "dialog-common.h"
@@ -110,7 +111,7 @@ transpose_dialog (PsppireDataWindow *de)
   switch (response)
     {
     case GTK_RESPONSE_OK:
-      g_free (execute_syntax_string (generate_syntax (dict, xml)));
+      g_free (execute_syntax_string (de, generate_syntax (dict, xml)));
       break;
     case PSPPIRE_RESPONSE_PASTE:
       {