summaryrefslogtreecommitdiff
path: root/src/libsystemd-terminal/sysview.c
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-04-30 20:10:31 +0200
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-04-30 20:12:48 +0200
commit470d7e17f986c1eeb1c98d18150c25e1b7375fb3 (patch)
tree7ad5c94a4922168db1089cdd41a398437029d803 /src/libsystemd-terminal/sysview.c
parente7e90a8eee056fd12c8ad83470143f7798240dbc (diff)
terminal: update for simpler sd-bus api's
Diffstat (limited to 'src/libsystemd-terminal/sysview.c')
-rw-r--r--src/libsystemd-terminal/sysview.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/libsystemd-terminal/sysview.c b/src/libsystemd-terminal/sysview.c
index 550f0305af..1e13167a79 100644
--- a/src/libsystemd-terminal/sysview.c
+++ b/src/libsystemd-terminal/sysview.c
@@ -271,8 +271,7 @@ sysview_seat *sysview_session_get_seat(sysview_session *session) {
return session->seat;
}
-static int session_take_control_fn(sd_bus *bus,
- sd_bus_message *reply,
+static int session_take_control_fn(sd_bus_message *reply,
void *userdata,
sd_bus_error *ret_error) {
sysview_session *session = userdata;
@@ -1216,8 +1215,7 @@ static int context_ld_session_removed(sysview_context *c, sd_bus_message *signal
return 0;
}
-static int context_ld_manager_signal_fn(sd_bus *bus,
- sd_bus_message *signal,
+static int context_ld_manager_signal_fn(sd_bus_message *signal,
void *userdata,
sd_bus_error *ret_error) {
sysview_context *c = userdata;
@@ -1260,8 +1258,7 @@ static void context_ld_stop(sysview_context *c) {
c->ld_slot_manager_signal = sd_bus_slot_unref(c->ld_slot_manager_signal);
}
-static int context_ld_list_seats_fn(sd_bus *bus,
- sd_bus_message *reply,
+static int context_ld_list_seats_fn(sd_bus_message *reply,
void *userdata,
sd_bus_error *ret_error) {
sysview_context *c = userdata;
@@ -1313,8 +1310,7 @@ settle:
return r;
}
-static int context_ld_list_sessions_fn(sd_bus *bus,
- sd_bus_message *reply,
+static int context_ld_list_sessions_fn(sd_bus_message *reply,
void *userdata,
sd_bus_error *ret_error) {
sysview_context *c = userdata;