diff options
author | Jonathon Jongsma <jjongsma@redhat.com> | 2015-01-30 16:40:17 -0600 |
---|---|---|
committer | Fabiano FidĂȘncio <fidencio@redhat.com> | 2015-02-23 23:00:46 +0100 |
commit | f228b5e6c038a5691f071d92827b5f87f326363d (patch) | |
tree | 68242acb53dd369a46265e9c85831e1867e440a3 | |
parent | 277de49ac8be832627421ef7d4d01c93ae29895c (diff) | |
download | spice-f228b5e6c038a5691f071d92827b5f87f326363d.tar.gz spice-f228b5e6c038a5691f071d92827b5f87f326363d.tar.xz spice-f228b5e6c038a5691f071d92827b5f87f326363d.zip |
Use strong type on spice_tablet_state_get_server()
-rw-r--r-- | server/inputs-channel.c | 2 | ||||
-rw-r--r-- | server/inputs-channel.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/inputs-channel.c b/server/inputs-channel.c index bd019c2a..5a6a4ed0 100644 --- a/server/inputs-channel.c +++ b/server/inputs-channel.c @@ -99,7 +99,7 @@ void spice_tablet_state_set_server(SpiceTabletState *st, void *server) st->reds = server; } -void* spice_tablet_state_get_server(SpiceTabletState *st) +RedsState* spice_tablet_state_get_server(SpiceTabletState *st) { return st->reds; } diff --git a/server/inputs-channel.h b/server/inputs-channel.h index 92b4473e..ab5f1580 100644 --- a/server/inputs-channel.h +++ b/server/inputs-channel.h @@ -40,7 +40,7 @@ int inputs_channel_set_tablet(InputsChannel *inputs, SpiceTabletInstance *tablet int inputs_channel_has_tablet(InputsChannel *inputs); void inputs_channel_detach_tablet(InputsChannel *inputs, SpiceTabletInstance *tablet); void spice_tablet_state_set_server(SpiceTabletState *dev, void *server); -void* spice_tablet_state_get_server(SpiceTabletState *dev); +RedsState* spice_tablet_state_get_server(SpiceTabletState *dev); RedsState* spice_kbd_state_get_server(SpiceKbdState *dev); #endif |