aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md4
-rw-r--r--main.c7
2 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index a62ebf6..0122a1f 100644
--- a/README.md
+++ b/README.md
@@ -45,3 +45,7 @@ To change the install directory, use the PREFIX environment variable. For exampl
$ export PREFIX=/opt/cinnamon
# make install
```
+
+## Contributing
+
+Generate a patch with `git format-patch HEAD~1` and email to [[email protected]](mailto:[email protected]) or send to XMPP address [[email protected]](xmpp:[email protected]), beginning the subject line with [PATCH cinnamon-browser]
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;