#include "rakt-window.h"
-typedef struct RaktWindowPriv RaktWindowPriv;
-
-struct RaktWindowPriv {
+typedef struct {
GtkWidget *content_vbox;
/* Menu & toolbar */
GdkPixbuf *pixbuf;
PopplerDocument *document;
gint page_no;
-};
+} RaktWindowPriv;
static void window_finalize (GObject *object);
#define RAKT_WINDOW_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), RAKT_TYPE_WINDOW, RaktWindowClass))
-typedef struct RaktWindow RaktWindow;
-typedef struct RaktWindowClass RaktWindowClass;
-
-struct RaktWindow {
+typedef struct {
GtkWindow parent_instance;
-};
+} RaktWindow;
-struct RaktWindowClass {
+typedef struct {
GtkWindowClass parent_class;
void (*quitting) (RaktWindow *window);
-};
+} RaktWindowClass;
GType rakt_window_get_type (void);
GtkWidget *rakt_window_new (void);