summaryrefslogtreecommitdiffstats
path: root/server/inputs_channel.c
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-11-04 17:21:46 +0200
committerAlon Levy <alevy@redhat.com>2011-02-07 19:22:44 +0200
commit194a6be5f78cb04a1891d2f74efbab828dab3d39 (patch)
tree6c3af926738deeb15e169c292a53a23b20a102e2 /server/inputs_channel.c
parent7dfd7a0c779da2df2c90ea59a9defb313779aaca (diff)
downloadspice-194a6be5f78cb04a1891d2f74efbab828dab3d39.tar.gz
spice-194a6be5f78cb04a1891d2f74efbab828dab3d39.tar.xz
spice-194a6be5f78cb04a1891d2f74efbab828dab3d39.zip
server/red_channel: add red_channel_pipe_add_push
Diffstat (limited to 'server/inputs_channel.c')
-rw-r--r--server/inputs_channel.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/inputs_channel.c b/server/inputs_channel.c
index 9b6c7913..9372c6f2 100644
--- a/server/inputs_channel.c
+++ b/server/inputs_channel.c
@@ -243,7 +243,7 @@ static void inputs_pipe_add_type(InputsChannel *channel, int type)
{
InputsPipeItem* pipe_item = inputs_pipe_item_new(channel, type);
- red_channel_pipe_add(&channel->base, &pipe_item->base);
+ red_channel_pipe_add_push(&channel->base, &pipe_item->base);
}
static void inputs_channel_release_pipe_item(RedChannel *channel,
@@ -476,7 +476,7 @@ static void inputs_migrate(Channel *channel)
ASSERT(g_inputs_channel == (InputsChannel *)channel->data);
item = inputs_pipe_item_new(inputs_channel, PIPE_ITEM_MIGRATE);
- red_channel_pipe_add(&inputs_channel->base, &item->base);
+ red_channel_pipe_add_push(&inputs_channel->base, &item->base);
}
static void inputs_pipe_add_init(InputsChannel *inputs_channel)
@@ -486,7 +486,7 @@ static void inputs_pipe_add_init(InputsChannel *inputs_channel)
red_channel_pipe_item_init(&inputs_channel->base, &item->base,
PIPE_ITEM_INIT);
item->modifiers = kbd_get_leds(keyboard);
- red_channel_pipe_add(&inputs_channel->base, &item->base);
+ red_channel_pipe_add_push(&inputs_channel->base, &item->base);
}
static int inputs_channel_config_socket(RedChannel *channel)
@@ -545,7 +545,7 @@ static void inputs_push_keyboard_modifiers(uint8_t modifiers)
return;
}
item = inputs_key_modifiers_item_new(g_inputs_channel, modifiers);
- red_channel_pipe_add(&g_inputs_channel->base, &item->base);
+ red_channel_pipe_add_push(&g_inputs_channel->base, &item->base);
}
void inputs_on_keyboard_leds_change(void *opaque, uint8_t leds)