[evolution/wip-webkit2] EMailReader - Fix getting of string from GVariant
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip-webkit2] EMailReader - Fix getting of string from GVariant
- Date: Fri, 8 Nov 2013 13:51:54 +0000 (UTC)
commit e40aaff1eba03eadf56beb3bf9b932831f5739b4
Author: Tomas Popela <tpopela redhat com>
Date: Fri Nov 8 14:38:12 2013 +0100
EMailReader - Fix getting of string from GVariant
mail/e-mail-reader.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c
index 984f687..167d2ed 100644
--- a/mail/e-mail-reader.c
+++ b/mail/e-mail-reader.c
@@ -2484,7 +2484,7 @@ mail_reader_key_press_event_cb (EMailReader *reader,
NULL);
if (result) {
- element_name = g_variant_get_string (result, NULL);
+ g_variant_get (result, "(&s)", &element_name);
g_variant_unref (result);
if (element_name && *element_name) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]