diff options
author | Christian Persch <chpe@gnome.org> | 2010-05-09 23:27:18 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2010-05-25 07:37:24 (GMT) |
commit | 07da791141c9f3ce6ab83e63647cefbcc7f2ebe6 (patch) | |
tree | c17c228a9e5b30c6fda35aaf205319301d958f01 /shell/ev-application.c | |
parent | f480eea33f494d7e28ab82cb2cf6105861886c6a (diff) |
[shell] Save a strdup
Diffstat (limited to 'shell/ev-application.c')
-rw-r--r-- | shell/ev-application.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ev-application.c b/shell/ev-application.c index 136fbb6..a09906c 100644 --- a/shell/ev-application.c +++ b/shell/ev-application.c @@ -629,7 +629,7 @@ method_call_cb (GDBusConnection *connection, return; } - while (g_variant_iter_loop (iter, "{sv}", &key, &value)) { + while (g_variant_iter_loop (iter, "{&sv}", &key, &value)) { if (strcmp (key, "display") == 0 && g_variant_classify (value) == G_VARIANT_CLASS_STRING) { display = ev_display_open_if_needed (g_variant_get_string (value, NULL)); } else if (strcmp (key, "screen") == 0 && g_variant_classify (value) == G_VARIANT_CLASS_STRING) { |