inputs_init() -> inputs_channel_new()

Rename function to be more consistent

Acked-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Pavel Grunt <pgrunt@redhat.com>
This commit is contained in:
Jonathon Jongsma 2015-01-21 16:58:30 -06:00 committed by Frediano Ziglio
parent ab55619492
commit 3881abc081
3 changed files with 3 additions and 3 deletions

View File

@ -605,7 +605,7 @@ static int inputs_channel_handle_migrate_data(RedChannelClient *rcc,
return TRUE;
}
InputsChannel* inputs_init(void)
InputsChannel* inputs_channel_new(void)
{
ChannelCbs channel_cbs = { NULL, };
ClientCbs client_cbs = { NULL, };

View File

@ -26,7 +26,7 @@
typedef struct InputsChannel InputsChannel;
InputsChannel* inputs_init(void);
InputsChannel* inputs_channel_new(void);
const VDAgentMouseState *inputs_channel_get_mouse_state(InputsChannel *inputs);
void inputs_channel_on_keyboard_leds_change(InputsChannel *inputs, uint8_t leds);
void inputs_channel_set_tablet_logical_size(InputsChannel *inputs, int x_res, int y_res);

View File

@ -3416,7 +3416,7 @@ static int do_spice_init(RedsState *reds, SpiceCoreInterface *core_interface)
#endif
reds->main_channel = main_channel_init();
reds->inputs_channel = inputs_init();
reds->inputs_channel = inputs_channel_new();
reds->mouse_mode = SPICE_MOUSE_MODE_SERVER;