some cleanups.
This commit is contained in:
parent
25155222c8
commit
d3d9c9b714
4
surf.c
4
surf.c
|
@ -95,7 +95,8 @@ destroywin(GtkWidget* w, gpointer d) {
|
||||||
destroyclient(c);
|
destroyclient(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
void die(char *str) {
|
void
|
||||||
|
die(char *str) {
|
||||||
fputs(str, stderr);
|
fputs(str, stderr);
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
@ -270,7 +271,6 @@ loadcommit(WebKitWebView *view, WebKitWebFrame *f, gpointer d) {
|
||||||
void
|
void
|
||||||
loadstart(WebKitWebView *view, WebKitWebFrame *f, gpointer d) {
|
loadstart(WebKitWebView *view, WebKitWebFrame *f, gpointer d) {
|
||||||
Client *c = (Client *)d;
|
Client *c = (Client *)d;
|
||||||
gchar *uri;
|
|
||||||
|
|
||||||
if(c->download)
|
if(c->download)
|
||||||
stop(c);
|
stop(c);
|
||||||
|
|
Loading…
Reference in New Issue