summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Toso <victortoso@redhat.com>2016-04-11 11:54:14 +0200
committerVictor Toso <victortoso@redhat.com>2016-04-11 12:15:14 +0200
commit62da1a33292a28ced3029ee95619a8cbf6a60605 (patch)
treeb37ab039360e86fa9d1f99a276d62eedc49f3327
parent665926f6144117e6a5716fe81ba13502bda99453 (diff)
remove trailing spaces
Acked-by: Pavel Grunt <pgrunt@redhat.com>
-rw-r--r--ChangeLog2
-rw-r--r--src/console-kit.c10
-rw-r--r--src/dummy-session-info.c6
-rw-r--r--src/session-info.h6
-rw-r--r--src/systemd-login.c6
-rw-r--r--src/udscs.c8
-rw-r--r--src/udscs.h8
-rw-r--r--src/vdagent-file-xfers.c6
-rw-r--r--src/vdagent-file-xfers.h6
-rw-r--r--src/vdagent-virtio-port.c8
-rw-r--r--src/vdagent-virtio-port.h8
-rw-r--r--src/vdagent-x11-randr.c6
-rw-r--r--src/vdagent-x11.c8
-rw-r--r--src/vdagent-x11.h6
-rw-r--r--src/vdagent.c6
-rw-r--r--src/vdagentd-proto-strings.h6
-rw-r--r--src/vdagentd-proto.h6
-rw-r--r--src/vdagentd-uinput.c6
-rw-r--r--src/vdagentd-uinput.h6
-rw-r--r--src/vdagentd-xorg-conf.h6
-rw-r--r--src/vdagentd.c8
21 files changed, 69 insertions, 69 deletions
diff --git a/ChangeLog b/ChangeLog
index 4138359..da24341 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -26,7 +26,7 @@ spice-vdagent-0.12.1
spice-vdagent-0.12.0
--------------------
-* Full multi-monitor and arbritary resolution support, this requires a new
+* Full multi-monitor and arbritary resolution support, this requires a new
enough xorg-x11-drv-qxl driver, as well as a new enough host
* systemd service support, using systemd hardware acivation
* Use syslog for logging, rather then logging to private log files
diff --git a/src/console-kit.c b/src/console-kit.c
index 759a81e..6e83bf2 100644
--- a/src/console-kit.c
+++ b/src/console-kit.c
@@ -7,12 +7,12 @@
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
+ the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
@@ -59,7 +59,7 @@ struct session_info *session_info_create(int verbose)
free(ck);
return NULL;
}
-
+
if (!dbus_connection_get_unix_fd(ck->connection, &ck->fd)) {
syslog(LOG_ERR, "Unable to get connection fd");
session_info_destroy(ck);
@@ -77,7 +77,7 @@ struct session_info *session_info_create(int verbose)
"path='%s',member='ActiveSessionChanged'", ck->seat);
dbus_error_init(&error);
dbus_bus_add_match(ck->connection, match, &error);
- if (dbus_error_is_set(&error)) {
+ if (dbus_error_is_set(&error)) {
syslog(LOG_ERR, "Match Error (%s)", error.message);
session_info_destroy(ck);
return NULL;
diff --git a/src/dummy-session-info.c b/src/dummy-session-info.c
index e188ddc..2f0ae65 100644
--- a/src/dummy-session-info.c
+++ b/src/dummy-session-info.c
@@ -7,12 +7,12 @@
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
+ the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
diff --git a/src/session-info.h b/src/session-info.h
index 67099de..c4f8187 100644
--- a/src/session-info.h
+++ b/src/session-info.h
@@ -7,12 +7,12 @@
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
+ the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
diff --git a/src/systemd-login.c b/src/systemd-login.c
index 73db37f..9ba300a 100644
--- a/src/systemd-login.c
+++ b/src/systemd-login.c
@@ -7,12 +7,12 @@
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
+ the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
diff --git a/src/udscs.c b/src/udscs.c
index 334d54a..427a844 100644
--- a/src/udscs.c
+++ b/src/udscs.c
@@ -9,12 +9,12 @@
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
+ the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
@@ -37,7 +37,7 @@ struct udscs_buf {
uint8_t *buf;
size_t pos;
size_t size;
-
+
struct udscs_buf *next;
};
diff --git a/src/udscs.h b/src/udscs.h
index 8b0b14e..e13750c 100644
--- a/src/udscs.h
+++ b/src/udscs.h
@@ -7,12 +7,12 @@
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
+ the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
@@ -35,7 +35,7 @@ struct udscs_message_header {
uint32_t type;
uint32_t arg1;
uint32_t arg2;
- uint32_t size;
+ uint32_t size;
};
/* Callbacks with this type will be called when a complete message has been
diff --git a/src/vdagent-file-xfers.c b/src/vdagent-file-xfers.c
index d8a1b7d..48b3069 100644
--- a/src/vdagent-file-xfers.c
+++ b/src/vdagent-file-xfers.c
@@ -7,12 +7,12 @@
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
+ the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
diff --git a/src/vdagent-file-xfers.h b/src/vdagent-file-xfers.h
index fe5da81..28a71fd 100644
--- a/src/vdagent-file-xfers.h
+++ b/src/vdagent-file-xfers.h
@@ -7,12 +7,12 @@
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
+ the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
diff --git a/src/vdagent-virtio-port.c b/src/vdagent-virtio-port.c
index 722f3ba..6267c74 100644
--- a/src/vdagent-virtio-port.c
+++ b/src/vdagent-virtio-port.c
@@ -7,12 +7,12 @@
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
+ the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
@@ -221,7 +221,7 @@ int vdagent_virtio_port_write_start(
memcpy(new_wbuf->buf + new_wbuf->write_pos, &chunk_header,
sizeof(chunk_header));
new_wbuf->write_pos += sizeof(chunk_header);
-
+
message_header.protocol = VD_AGENT_PROTOCOL;
message_header.type = message_type;
message_header.opaque = message_opaque;
diff --git a/src/vdagent-virtio-port.h b/src/vdagent-virtio-port.h
index a392ebe..ac766bd 100644
--- a/src/vdagent-virtio-port.h
+++ b/src/vdagent-virtio-port.h
@@ -7,12 +7,12 @@
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
+ the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
@@ -55,7 +55,7 @@ typedef void (*vdagent_virtio_port_disconnect_callback)(
struct vdagent_virtio_port *vdagent_virtio_port_create(const char *portname,
vdagent_virtio_port_read_callback read_callback,
vdagent_virtio_port_disconnect_callback disconnect_callback);
-
+
/* The contents of portp will be made NULL */
void vdagent_virtio_port_destroy(struct vdagent_virtio_port **vportp);
diff --git a/src/vdagent-x11-randr.c b/src/vdagent-x11-randr.c
index 939eed6..02089b2 100644
--- a/src/vdagent-x11-randr.c
+++ b/src/vdagent-x11-randr.c
@@ -9,12 +9,12 @@
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
+ the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
diff --git a/src/vdagent-x11.c b/src/vdagent-x11.c
index 9619dc5..da27602 100644
--- a/src/vdagent-x11.c
+++ b/src/vdagent-x11.c
@@ -23,11 +23,11 @@
X11 socket. If events have arrived and have already been read by libX11 from
the socket triggered by other libX11 calls from this file, the select for
read in the main loop, won't see these and our event loop won't get called!
-
+
Thus we must make sure that all queued events have been consumed, whenever
we return to the main loop. IOW all (externally callable) functions in this
file must end with calling XPending and consuming all queued events.
-
+
Calling XPending when-ever we return to the mainloop also ensures any
pending writes are flushed. */
@@ -535,7 +535,7 @@ static void vdagent_x11_handle_event(struct vdagent_x11 *x11, XEvent event)
event.xproperty.state == PropertyNewValue) {
vdagent_x11_handle_selection_notify(x11, &event, 1);
}
- if (x11->selection_req_data &&
+ if (x11->selection_req_data &&
event.xproperty.state == PropertyDelete) {
vdagent_x11_handle_property_delete_notify(x11, &event);
}
@@ -1230,7 +1230,7 @@ void vdagent_x11_clipboard_data(struct vdagent_x11 *x11, uint8_t selection,
}
event = &x11->selection_req->event;
- type_from_event = vdagent_x11_target_to_type(x11,
+ type_from_event = vdagent_x11_target_to_type(x11,
x11->selection_req->selection,
event->xselectionrequest.target);
if (type_from_event != type ||
diff --git a/src/vdagent-x11.h b/src/vdagent-x11.h
index d64a42a..e67701e 100644
--- a/src/vdagent-x11.h
+++ b/src/vdagent-x11.h
@@ -7,12 +7,12 @@
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
+ the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
diff --git a/src/vdagent.c b/src/vdagent.c
index 4bda38c..9c619ef 100644
--- a/src/vdagent.c
+++ b/src/vdagent.c
@@ -7,12 +7,12 @@
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
+ the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
diff --git a/src/vdagentd-proto-strings.h b/src/vdagentd-proto-strings.h
index a3fbd32..86332f9 100644
--- a/src/vdagentd-proto-strings.h
+++ b/src/vdagentd-proto-strings.h
@@ -7,12 +7,12 @@
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
+ the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
diff --git a/src/vdagentd-proto.h b/src/vdagentd-proto.h
index 0dbaaea..b181105 100644
--- a/src/vdagentd-proto.h
+++ b/src/vdagentd-proto.h
@@ -8,12 +8,12 @@
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
+ the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
diff --git a/src/vdagentd-uinput.c b/src/vdagentd-uinput.c
index 47e1b45..5a70530 100644
--- a/src/vdagentd-uinput.c
+++ b/src/vdagentd-uinput.c
@@ -8,12 +8,12 @@
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
+ the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
diff --git a/src/vdagentd-uinput.h b/src/vdagentd-uinput.h
index b9bd9f1..cf1d8eb 100644
--- a/src/vdagentd-uinput.h
+++ b/src/vdagentd-uinput.h
@@ -8,12 +8,12 @@
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
+ the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
diff --git a/src/vdagentd-xorg-conf.h b/src/vdagentd-xorg-conf.h
index c0a2b28..9934359 100644
--- a/src/vdagentd-xorg-conf.h
+++ b/src/vdagentd-xorg-conf.h
@@ -7,12 +7,12 @@
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
+ the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
diff --git a/src/vdagentd.c b/src/vdagentd.c
index a493baf..69332ff 100644
--- a/src/vdagentd.c
+++ b/src/vdagentd.c
@@ -8,12 +8,12 @@
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
+ the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
@@ -642,7 +642,7 @@ static void update_active_session_connection(struct udscs_connection *new_conn)
release_clipboards();
- check_xorg_resolution();
+ check_xorg_resolution();
}
static gboolean remove_active_xfers(gpointer key, gpointer value, gpointer conn)