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