Factor Dialog: Avoid populating dialog more than once
[pspp] / src / ui / gui / psppire-output-window.h
index 74d3bb97be3cf9884933a5d0985600b949fdc8c3..d8624ca8ea34c00032ca967be38fd7927485f569 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPPIRE - a graphical user interface for PSPP.
-   Copyright (C) 2008, 2009, 2010, 2011  Free Software Foundation
+   Copyright (C) 2008, 2009, 2010, 2011, 2014  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,7 +23,6 @@
 #include <glib-object.h>
 #include <gtk/gtk.h>
 #include "psppire-window.h"
-#include "psppire.h"
 #include "libpspp/string-map.h"
 
 
@@ -49,24 +48,7 @@ struct _PsppireOutputWindow
 
   /* <private> */
   struct psppire_output_driver *driver;
-  GtkLayout *output;
-  int max_width;
-  int y;
-
-  struct string_map render_opts;
-  GtkTreeView *overview;
-  GtkTreeIter cur_command;
-  bool in_command;
-
-  struct output_item **items;
-  size_t n_items, allocated_items;
-
-  /* Variables pertaining to printing */
-  GtkPrintSettings *print_settings;
-  struct xr_driver *print_xrd;
-  int print_item;
-  int print_n_pages;
-  gboolean paginated;
+  struct psppire_output_view *view;
 
   gboolean dispose_has_run;
 };