small cleanups
This commit is contained in:
parent
31441e93f7
commit
c38404fd0b
4
surf.c
4
surf.c
|
@ -345,7 +345,7 @@ geturi(Client *c) {
|
||||||
char *uri;
|
char *uri;
|
||||||
|
|
||||||
if(!(uri = (char *)webkit_web_view_get_uri(c->view)))
|
if(!(uri = (char *)webkit_web_view_get_uri(c->view)))
|
||||||
uri = copystr(NULL, "about:blank");
|
uri = "about:blank";
|
||||||
return uri;
|
return uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -690,8 +690,6 @@ resize(GtkWidget *w, GtkAllocation *a, Client *c) {
|
||||||
webkit_web_view_set_zoom_level(c->view, 1.0);
|
webkit_web_view_set_zoom_level(c->view, 1.0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
sigchld(int unused) {
|
sigchld(int unused) {
|
||||||
if(signal(SIGCHLD, sigchld) == SIG_ERR)
|
if(signal(SIGCHLD, sigchld) == SIG_ERR)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user