[Spice-commits] 2 commits - gtk/channel-main.c gtk/spicy-stats.c

Christophe Fergau teuf at kemper.freedesktop.org
Wed Aug 28 01:48:21 PDT 2013


 gtk/channel-main.c |    2 +-
 gtk/spicy-stats.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 37b896fc1b86cd3eaf0032bb1e75acb957d1f968
Author: Jonathon Jongsma <jjongsma at redhat.com>
Date:   Mon Aug 26 15:38:09 2013 -0500

    Remove incorrect option context from spicy-stats
    
    The argument given to g_option_context_new() was apparently copy/pasted from
    spicy-screenshot and therefore inaccurate for spicy-stats.  Since the actual
    description of the program (from _set_summary()) is displayed on the next line
    anyway, simply make the context NULL.

diff --git a/gtk/spicy-stats.c b/gtk/spicy-stats.c
index 331e5e2..f176ead 100644
--- a/gtk/spicy-stats.c
+++ b/gtk/spicy-stats.c
@@ -95,7 +95,7 @@ int main(int argc, char *argv[])
     textdomain(GETTEXT_PACKAGE);
 
     /* parse opts */
-    context = g_option_context_new(_(" - make screen shots"));
+    context = g_option_context_new(NULL);
     g_option_context_set_summary(context, _("A Spice client used for testing and measurements."));
     g_option_context_set_description(context, _("Report bugs to " PACKAGE_BUGREPORT "."));
     g_option_context_set_main_group(context, spice_cmdline_get_option_group());
commit 5eac26c82cdd1f25e6e33d2bb88a56d8c793f8d6
Author: Jonathon Jongsma <jjongsma at redhat.com>
Date:   Tue Aug 27 14:56:24 2013 -0500

    channel-main: Fix minor documentation issue
    
    Documentation for spice_main_clipboard_selection_request() refers to deprecated
    signal 'main-clipboard' instead of 'main-clipboard-selection'

diff --git a/gtk/channel-main.c b/gtk/channel-main.c
index b58af52..93995f1 100644
--- a/gtk/channel-main.c
+++ b/gtk/channel-main.c
@@ -2585,7 +2585,7 @@ void spice_main_clipboard_request(SpiceMainChannel *channel, guint32 type)
  * @type: a #VD_AGENT_CLIPBOARD type
  *
  * Request clipboard data of @type from the guest. The reply is sent
- * through the #SpiceMainChannel::main-clipboard signal.
+ * through the #SpiceMainChannel::main-clipboard-selection signal.
  *
  * Since: 0.6
  **/


More information about the Spice-commits mailing list