summaryrefslogtreecommitdiff
path: root/gtk/channel-main.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2012-01-09 16:34:16 +0100
committerMarc-André Lureau <marcandre.lureau@redhat.com>2012-01-12 19:43:38 +0100
commit173841cb216c244580f72d61892f67f91a4c7b8a (patch)
tree95eade2dfdb12cab1328dafd623ad5d6f3bd92a3 /gtk/channel-main.c
parent348acdb3ad40282b9675b4706298df31d60ac11d (diff)
Make g_coroutine_condition_wait() cancellable
https://bugs.freedesktop.org/show_bug.cgi?id=44570
Diffstat (limited to 'gtk/channel-main.c')
-rw-r--r--gtk/channel-main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/channel-main.c b/gtk/channel-main.c
index 42e4494..ebf660f 100644
--- a/gtk/channel-main.c
+++ b/gtk/channel-main.c
@@ -1709,7 +1709,7 @@ static gboolean timer_set_display(gpointer data)
c->timer_id = 0;
if (c->agent_connected)
spice_main_send_monitor_config(SPICE_MAIN_CHANNEL(channel));
- spice_channel_wakeup(channel);
+ spice_channel_wakeup(channel, FALSE);
return false;
}
@@ -1783,7 +1783,7 @@ void spice_main_clipboard_selection_grab(SpiceMainChannel *channel, guint select
g_return_if_fail(SPICE_IS_MAIN_CHANNEL(channel));
agent_clipboard_grab(channel, selection, types, ntypes);
- spice_channel_wakeup(SPICE_CHANNEL(channel));
+ spice_channel_wakeup(SPICE_CHANNEL(channel), FALSE);
}
/**
@@ -1822,7 +1822,7 @@ void spice_main_clipboard_selection_release(SpiceMainChannel *channel, guint sel
return;
agent_clipboard_release(channel, selection);
- spice_channel_wakeup(SPICE_CHANNEL(channel));
+ spice_channel_wakeup(SPICE_CHANNEL(channel), FALSE);
}
/**
@@ -1863,7 +1863,7 @@ void spice_main_clipboard_selection_notify(SpiceMainChannel *channel, guint sele
g_return_if_fail(SPICE_IS_MAIN_CHANNEL(channel));
agent_clipboard_notify(channel, selection, type, data, size);
- spice_channel_wakeup(SPICE_CHANNEL(channel));
+ spice_channel_wakeup(SPICE_CHANNEL(channel), FALSE);
}
/**
@@ -1899,7 +1899,7 @@ void spice_main_clipboard_selection_request(SpiceMainChannel *channel, guint sel
g_return_if_fail(SPICE_IS_MAIN_CHANNEL(channel));
agent_clipboard_request(channel, selection, type);
- spice_channel_wakeup(SPICE_CHANNEL(channel));
+ spice_channel_wakeup(SPICE_CHANNEL(channel), FALSE);
}
/**