diff options
author | Josh Rickmar <jrick@devio.us> | 2012-08-22 15:07:53 -0400 |
---|---|---|
committer | Josh Rickmar <jrick@devio.us> | 2012-08-22 15:07:53 -0400 |
commit | 5eb53d180ff8ce67a1c3f022cffaca31c3e84ef7 (patch) | |
tree | 4a9daa505b043eb02c6f8daecce669b032c12de7 /xombrero.h | |
parent | 8a26782c4467799f219764b398ecac68c0ea6251 (diff) | |
download | xombrero-5eb53d180ff8ce67a1c3f022cffaca31c3e84ef7.tar.gz |
Remove some deprecated signals
This stops the webview's deprecated load-finished and load-progress-changed signals from being attached to. May help with stability.
Diffstat (limited to 'xombrero.h')
-rw-r--r-- | xombrero.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/xombrero.h b/xombrero.h index d96f7bc..7749195 100644 --- a/xombrero.h +++ b/xombrero.h @@ -228,8 +228,8 @@ struct tab { guint tab_id; WebKitWebView *wv; - WebKitWebHistoryItem *item; - WebKitWebBackForwardList *bfl; + WebKitWebBackForwardList *bfl; + WebKitWebHistoryItem *item; /* favicon */ WebKitNetworkRequest *icon_request; @@ -294,6 +294,9 @@ struct tab { WebKitDOMElement *active; char *active_text; #endif + + /* signal handles */ + gulong progress_handle; }; TAILQ_HEAD(tab_list, tab); @@ -373,6 +376,7 @@ RB_PROTOTYPE(http_accept_list, http_accept, entry, http_accept_rb_cmp); #define XT_RESERVED_CHARS "$&+,/:;=?@ \"<>#%%{}|^~[]`" int run_script(struct tab *, char *); +void js_autorun(struct tab *); void xt_icon_from_file(struct tab *, char *); GtkWidget *create_window(const gchar *); void show_oops(struct tab *, const char *, ...); @@ -388,6 +392,7 @@ void set_status(struct tab *t, gchar *fmt, ...); void load_webkit_string(struct tab *, const char *, gchar *); void button_set_stockid(GtkWidget *, char *); +void webview_progress_changed_cb(WebKitWebView *, GParamSpec *, struct tab *); /* cookies */ int remove_cookie(int); |