From f261f288c8dee85c36ff1b199f71a7730870ae47 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 18 Oct 2010 16:00:12 -0400 Subject: Fix a runtime warning from the enum change. --- mail/em-format-html.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mail') diff --git a/mail/em-format-html.c b/mail/em-format-html.c index 5f3cca3f91..1e3c6b9abd 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))); -- cgit v1.2.3