[evolution/wip-webkit2] EMailDisplay - Fix getting of a parameter from GVariant
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip-webkit2] EMailDisplay - Fix getting of a parameter from GVariant
- Date: Wed, 20 Nov 2013 12:59:13 +0000 (UTC)
commit 136b062d21bb449fb3ea43f8b48822d6a0c18ad3
Author: Tomas Popela <tpopela redhat com>
Date: Wed Nov 20 13:57:52 2013 +0100
EMailDisplay - Fix getting of a parameter from GVariant
mail/e-mail-display.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mail/e-mail-display.c b/mail/e-mail-display.c
index 601656e..84f81dc 100644
--- a/mail/e-mail-display.c
+++ b/mail/e-mail-display.c
@@ -2112,7 +2112,7 @@ e_mail_display_get_selection_plain_text_sync (EMailDisplay *display,
error);
if (result) {
- text_content = g_variant_get_string (result, NULL);
+ g_variant_get (result, "(&s)", &text_content);
g_variant_unref (result);
return text_content;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]