[gnome-screenshot] Fix the variant type for -f option
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-screenshot] Fix the variant type for -f option
- Date: Mon, 25 Aug 2014 23:05:26 +0000 (UTC)
commit 9aa397c5640ad192806898a3b4f25b31df86ef1e
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Aug 25 11:37:51 2014 -0400
Fix the variant type for -f option
Filename arguments are transmitted as bytestrings.
https://bugzilla.gnome.org/show_bug.cgi?id=735323
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 96f328e..84e6467 100644
--- a/src/screenshot-application.c
+++ b/src/screenshot-application.c
@@ -685,7 +685,7 @@ screenshot_application_command_line (GApplication *app,
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", "i", &delay_arg);
- g_variant_dict_lookup (options, "file", "&s", &file_arg);
+ g_variant_dict_lookup (options, "file", "^&ay", &file_arg);
res = screenshot_load_config (clipboard_arg,
window_arg,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]