diff options
author | mutantturkey <crazycal00@gmail.com> | 2011-05-17 23:44:15 -0400 |
---|---|---|
committer | mutantturkey <crazycal00@gmail.com> | 2011-05-17 23:44:15 -0400 |
commit | 8c189045d953c4dc42076776d6f853a692421a42 (patch) | |
tree | c58b5ba540bba60bd178e76fc9823b049cffd6bc /defaults.h | |
parent | a8f412ce4316566396048e394271f6708642e094 (diff) |
move cb_keypress to callbacks.c, fixed a few warnings, added functions to sb.h
Diffstat (limited to 'defaults.h')
-rw-r--r-- | defaults.h | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -9,3 +9,30 @@ #define DEFAULT_HEIGHT 900 #define DEFAULT_WIDTH 800 +GQuark term_data_id; +#define get_tab(x, page_idx ) (struct tab*)g_object_get_qdata(G_OBJECT(gtk_notebook_get_nth_page(w.notebook, page_idx ) ), term_data_id); + +typedef struct tab { + GtkWidget *scroll; + GtkWidget *label; + gchar *main_title; + gchar *url_entry; + gint load_progress; + guint status_context_id; + WebKitWebView *view; + } tab; + +struct { + WebKitWebSettings *webkitsettings; + WebKitWebWindowFeatures *webkitwindowfeatures; + SoupSession *session; + SoupCookieJar *jar; + gboolean hide; + GtkWidget *win; + GtkWidget *bar; + GtkWidget *search; + GtkWidget *vbox; + GtkNotebook *notebook; + GtkWidget *status; + GtkWidget *status_info; } w; + |