[evolution] Fix a runtime warning from the enum change.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Fix a runtime warning from the enum change.
- Date: Mon, 18 Oct 2010 20:02:54 +0000 (UTC)
commit f261f288c8dee85c36ff1b199f71a7730870ae47
Author: Matthew Barnes <mbarnes redhat com>
Date: Mon Oct 18 16:00:12 2010 -0400
Fix a runtime warning from the enum change.
mail/em-format-html.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index 5f3cca3..1e3c6b9 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -473,7 +473,7 @@ efh_set_property (GObject *object,
case PROP_IMAGE_LOADING_POLICY:
em_format_html_set_image_loading_policy (
EM_FORMAT_HTML (object),
- g_value_get_int (value));
+ g_value_get_enum (value));
return;
case PROP_MARK_CITATIONS:
@@ -561,7 +561,7 @@ efh_get_property (GObject *object,
return;
case PROP_IMAGE_LOADING_POLICY:
- g_value_set_int (
+ g_value_set_enum (
value,
em_format_html_get_image_loading_policy (
EM_FORMAT_HTML (object)));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]