diff options
author | Marco Peereboom <marco@conformal.com> | 2010-02-24 23:16:33 +0000 |
---|---|---|
committer | Marco Peereboom <marco@conformal.com> | 2010-02-24 23:16:33 +0000 |
commit | b0f837b551e0aa51144895475288a29bee9c52b5 (patch) | |
tree | 4fd065c4b28aa9aff391eddb96fab992ae1238ed | |
parent | 020fc3e56b8c0717040a9d6d4b8ebf0946081280 (diff) | |
download | xombrero-b0f837b551e0aa51144895475288a29bee9c52b5.tar.gz |
Add version check around WEBKIT_LOAD_FAILED
pointed out by Mike Schmitz <tmschmitz@gmail.com>
-rw-r--r-- | xxxterm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xxxterm.c b/xxxterm.c index 461d942..033f5ce 100644 --- a/xxxterm.c +++ b/xxxterm.c @@ -818,7 +818,9 @@ notify_load_status_cb(WebKitWebView* wview, GParamSpec* pspec, struct tab *t) break; case WEBKIT_LOAD_PROVISIONAL: case WEBKIT_LOAD_FINISHED: +#if WEBKIT_CHECK_VERSION(1, 1, 18) case WEBKIT_LOAD_FAILED: +#endif gtk_widget_set_sensitive(GTK_WIDGET(t->stop), FALSE); default: break; |