aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-10-19 04:00:12 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-19 04:00:12 +0800
commitf261f288c8dee85c36ff1b199f71a7730870ae47 (patch)
tree4fb27eb6981b308f2c7fe104820332f02abaa5a6
parentae478d1e3cbdf46dd9a34e2d84eddfb37e9dd961 (diff)
downloadgsoc2013-evolution-f261f288c8dee85c36ff1b199f71a7730870ae47.tar
gsoc2013-evolution-f261f288c8dee85c36ff1b199f71a7730870ae47.tar.gz
gsoc2013-evolution-f261f288c8dee85c36ff1b199f71a7730870ae47.tar.bz2
gsoc2013-evolution-f261f288c8dee85c36ff1b199f71a7730870ae47.tar.lz
gsoc2013-evolution-f261f288c8dee85c36ff1b199f71a7730870ae47.tar.xz
gsoc2013-evolution-f261f288c8dee85c36ff1b199f71a7730870ae47.tar.zst
gsoc2013-evolution-f261f288c8dee85c36ff1b199f71a7730870ae47.zip
Fix a runtime warning from the enum change.
-rw-r--r--mail/em-format-html.c4
1 files changed, 2 insertions, 2 deletions
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)));