diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/window.c | 1 | ||||
-rw-r--r-- | src/window.h | 7 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/window.c b/src/window.c index 9b43f9c..0f12a89 100644 --- a/src/window.c +++ b/src/window.c @@ -66,6 +66,7 @@ mq_window_new(MqApplication *application, gchar **uris) guint i; window = malloc(sizeof(*window)); + window->application = application; window->window = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_default_size(GTK_WINDOW(window->window), 1024, 768); diff --git a/src/window.h b/src/window.h index 8dec9af..9086d99 100644 --- a/src/window.h +++ b/src/window.h @@ -30,9 +30,10 @@ typedef struct MqWindow MqWindow; #include "tab.h" struct MqWindow { - GtkWidget *window; - GtkWidget *notebook; - MqTab *root_tab; + MqApplication *application; + GtkWidget *window; + GtkWidget *notebook; + MqTab *root_tab; }; MqWindow * |