summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2012-06-18 19:25:48 +0200
committerMarc-André Lureau <marcandre.lureau@redhat.com>2012-07-16 17:46:41 +0200
commitb1aaa08be76605d68ee1b4a7feb93078c1dff73e (patch)
tree8d96eac5712194b9e94b2498c8adfbb12defb10e
parent8aacc276c5246a21ad64191e5f8fe47ae0f0f6e3 (diff)
Document spice_main_send_monitor_config()
-rw-r--r--gtk/channel-main.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk/channel-main.c b/gtk/channel-main.c
index 1d83bfa..9e97b8b 100644
--- a/gtk/channel-main.c
+++ b/gtk/channel-main.c
@@ -849,6 +849,15 @@ static void agent_msg_queue_many(SpiceMainChannel *channel, int type, const void
#define agent_msg_queue(Channel, Type, Size, Data) \
agent_msg_queue_many((Channel), (Type), (Data), (Size), NULL)
+/**
+ * spice_main_send_monitor_config:
+ * @channel:
+ *
+ * Send monitors configuration previously set with
+ * spice_main_set_display() and spice_main_set_display_enabled()
+ *
+ * Returns: %TRUE on success.
+ **/
/* any context: the message is not flushed immediately,
you can wakeup() the channel coroutine or send_msg_queue() */
gboolean spice_main_send_monitor_config(SpiceMainChannel *channel)