summaryrefslogtreecommitdiff
path: root/surf.c
diff options
context:
space:
mode:
authorSimon Rozet <simon@rozet.name>2009-06-07 21:16:19 +0200
committerSimon Rozet <simon@rozet.name>2009-06-07 21:27:08 +0200
commit569d2767996f886f17bb0625f8e2c07d8ecc8364 (patch)
tree49209079340905a02b3b92fe260059acb432dd10 /surf.c
parentf2059fdb306f3d98e492a712bf73159fcbf32921 (diff)
downloadsurf-569d2767996f886f17bb0625f8e2c07d8ecc8364.tar.gz
surf-569d2767996f886f17bb0625f8e2c07d8ecc8364.tar.bz2
surf-569d2767996f886f17bb0625f8e2c07d8ecc8364.zip
strip trailing whitespace
Diffstat (limited to 'surf.c')
-rw-r--r--surf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/surf.c b/surf.c
index 24b694a..318d694 100644
--- a/surf.c
+++ b/surf.c
@@ -113,7 +113,7 @@ download(WebKitWebView *view, WebKitDownload *o, gpointer d) {
gchar *uri, *filename;
home = g_get_home_dir();
- filename = g_build_filename(home, "Desktop",
+ filename = g_build_filename(home, "Desktop",
webkit_download_get_suggested_filename(o), NULL);
uri = g_strconcat("file://", filename, NULL);
webkit_download_set_destination_uri(o, uri);
@@ -256,7 +256,7 @@ loadfile(const Client *c, const gchar *f) {
g_string_prepend(uri, "file://");
loaduri(c, uri->str);
}
-
+
}
void
@@ -364,7 +364,7 @@ processx(GdkXEvent *e, GdkEvent *event, gpointer d) {
if(((XEvent *)e)->type == PropertyNotify) {
ev = &((XEvent *)e)->xproperty;
if(ignore_once == FALSE && ev->atom == urlprop && ev->state == PropertyNewValue) {
- XGetWindowProperty(dpy, ev->window, urlprop, 0L, BUFSIZ, False, XA_STRING,
+ XGetWindowProperty(dpy, ev->window, urlprop, 0L, BUFSIZ, False, XA_STRING,
&adummy, &idummy, &ldummy, &ldummy, &buf);
loaduri(c, (gchar *)buf);
XFree(buf);