diff options
author | Marco Peereboom <marco@conformal.com> | 2010-02-20 18:15:20 +0000 |
---|---|---|
committer | Marco Peereboom <marco@conformal.com> | 2010-02-20 18:15:20 +0000 |
commit | a7fb10a5dfd2003537e6fa7ad34cbd064dd2b7f9 (patch) | |
tree | d82ef0aece5e8167785dbb1a137d6c75fa62c12e | |
parent | 54b5cdd9ff01a8be45afc3480f77676c625191fd (diff) | |
download | xombrero-a7fb10a5dfd2003537e6fa7ad34cbd064dd2b7f9.tar.gz |
comment clarification
-rw-r--r-- | xxxterm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xxxterm.c b/xxxterm.c index befbf68..d3f7ef2 100644 --- a/xxxterm.c +++ b/xxxterm.c @@ -480,10 +480,12 @@ notify_load_status_cb(WebKitWebView* wview, GParamSpec* pspec, struct tab *t) } int -webview_keypress_cb(WebKitWebView *webview, GdkEventKey *e, struct tab *t) +webview_keypress_cb(GtkWidget *w, GdkEventKey *e, struct tab *t) { int i; + /* don't use w directly; use t->whatever instead */ + if (t == NULL) errx(1, "webview_keypress_cb"); |