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