aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/main.c b/main.c
index 5986341..a6b012f 100644
--- a/main.c
+++ b/main.c
@@ -6,6 +6,13 @@ This software is licensed under the ARPL. See LICENSE for details.
#include <gtk/gtk.h>
#include "config.h"
+/* struct so we can easily pass objects around. will actually use this in code later */
+typedef struct {
+ GtkWidget *window;
+ GtkWidget *notebook;
+ GtkWidget *cmdbar;
+} Cinnamon;
+
/* 0 = normal mode, 1 = insert, 2 = passthrough */
static int mode = 0;