some cleanups.
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user