summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnno Boland (tox) <tox@s01.de>2009-10-20 20:52:43 +0200
committerEnno Boland (tox) <tox@s01.de>2009-10-20 20:52:43 +0200
commitc38404fd0b7f537ea5c97ca830f44b9834dbaac7 (patch)
tree152c93de64855bb1fd126c49b0f6fc6c1c2b3b40
parent31441e93f73029017fb59ac9f7e36ba74206ced4 (diff)
downloadsurf-c38404fd0b7f537ea5c97ca830f44b9834dbaac7.tar.gz
surf-c38404fd0b7f537ea5c97ca830f44b9834dbaac7.tar.bz2
surf-c38404fd0b7f537ea5c97ca830f44b9834dbaac7.zip
small cleanups
-rw-r--r--surf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/surf.c b/surf.c
index ecdbbed..5d2a30d 100644
--- a/surf.c
+++ b/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)