[gnome-screenshot] commandline args: parse delay parameter correctly



commit 2c8e3b0012ea515389bb88c8fd6d0229d967ddc0
Author: Ryan Lortie <desrt desrt ca>
Date:   Mon Aug 25 07:51:10 2014 -0700

    commandline args: parse delay parameter correctly
    
    This is an int, not a uint.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=727881

 src/screenshot-application.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/screenshot-application.c b/src/screenshot-application.c
index b5b3eae..96f328e 100644
--- a/src/screenshot-application.c
+++ b/src/screenshot-application.c
@@ -684,7 +684,7 @@ screenshot_application_command_line (GApplication            *app,
   g_variant_dict_lookup (options, "include-pointer", "b", &include_pointer_arg);
   g_variant_dict_lookup (options, "interactive", "b", &interactive_arg);
   g_variant_dict_lookup (options, "border-effect", "&s", &border_effect_arg);
-  g_variant_dict_lookup (options, "delay", "u", &delay_arg);
+  g_variant_dict_lookup (options, "delay", "i", &delay_arg);
   g_variant_dict_lookup (options, "file", "&s", &file_arg);
 
   res = screenshot_load_config (clipboard_arg,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]