Clean up struct/type definitions.
[raktpdf.git] / src / rakt-window.h
index 194c64f400648328d68461dedce205755ee13453..4c7676f7975794cdcea6289b37689b82b2a40f79 100644 (file)
@@ -37,17 +37,14 @@ G_BEGIN_DECLS
 #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);