Fix minor inconsistencies with declaration and definition

Declaration used gboolean while definition used int.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Uri Lublin <uril@redhat.com>
This commit is contained in:
Frediano Ziglio 2017-02-16 10:07:41 +00:00
parent 4838f317a9
commit 73e6d88b20
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ void agent_msg_filter_config(AgentMsgFilter *filter,
void agent_msg_filter_init(AgentMsgFilter *filter,
gboolean copy_paste, gboolean file_xfer,
gboolean use_client_monitors_config,
int discard_all)
gboolean discard_all)
{
memset(filter, 0, sizeof(*filter));
agent_msg_filter_config(filter, copy_paste, file_xfer,

View File

@ -1789,7 +1789,7 @@ void red_channel_client_disconnect(RedChannelClient *rcc)
red_channel_on_disconnect(channel, rcc);
}
int red_channel_client_is_blocked(RedChannelClient *rcc)
gboolean red_channel_client_is_blocked(RedChannelClient *rcc)
{
return rcc && rcc->priv->send_data.blocked;
}