aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/mozilla-notifiers.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/embed/mozilla/mozilla-notifiers.cpp b/embed/mozilla/mozilla-notifiers.cpp
index f67bf6492..855334371 100644
--- a/embed/mozilla/mozilla-notifiers.cpp
+++ b/embed/mozilla/mozilla-notifiers.cpp
@@ -599,8 +599,10 @@ mozilla_own_fonts_notifier(GConfClient *client,
GConfEntry *entry,
EphyEmbedSingle *single)
{
- mozilla_prefs_set_int("browser.display.use_document_fonts",
- !gconf_value_get_bool(entry->value));
+ int value;
+
+ value = gconf_value_get_bool(entry->value) ? 0 : 1;
+ mozilla_prefs_set_int("browser.display.use_document_fonts", value);
}
static void