PsppireWindow and PsppireDialog: Use correct the parent structures.
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 16 Jul 2012 19:10:40 +0000 (21:10 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Mon, 16 Jul 2012 19:10:40 +0000 (21:10 +0200)
This change makes the structure declarations agree with the class definition.

src/ui/gui/psppire-dialog.h
src/ui/gui/psppire-window.h

index ae1f41d92b630277e7bf5ac6435cf1b0fac374f5..b3f98e6f74ac7472cd7c7fc6d81d43da91ea7890 100644 (file)
@@ -22,6 +22,7 @@
 #include <glib.h>
 #include <glib-object.h>
 #include <gtk/gtk.h>
+#include "psppire-window-base.h"
 
 
 #define PSPPIRE_RESPONSE_PASTE 1
@@ -53,7 +54,7 @@ typedef enum
 
 struct _PsppireDialog
 {
-  GtkWindow window;
+  PsppireWindowBase window;
   GtkWidget *box;
 
   /* Private */
@@ -68,7 +69,7 @@ struct _PsppireDialog
 
 struct _PsppireDialogClass
 {
-  GtkWindowClass parent_class;
+  PsppireWindowBaseClass parent_class;
 };
 
 
index b80f79d699af04d14a647be6d817830ff9a5b65b..e7851cce77d520dc5a8de776724faab63d28f69a 100644 (file)
@@ -22,6 +22,7 @@
 #include <glib.h>
 #include <glib-object.h>
 #include <gtk/gtk.h>
+#include "psppire-window-base.h"
 
 G_BEGIN_DECLS
 
@@ -57,7 +58,7 @@ typedef struct _PsppireWindowIface  PsppireWindowIface;
 
 struct _PsppireWindow
 {
-  GtkWindow parent;
+  PsppireWindowBase parent;
 
   /* <private> */
   gchar *filename;             /* File name, in file name encoding, or NULL. */
@@ -79,7 +80,7 @@ struct _PsppireWindow
 
 struct _PsppireWindowClass
 {
-  GtkWindowClass parent_class;
+  PsppireWindowBaseClass parent_class;
 };