From a9584d29c22a23410e0092d979129fca458268e7 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 16 Jun 2003 16:07:07 +0000 Subject: Fix use document colors 2003-06-16 Marco Pesenti Gritti * embed/mozilla/mozilla-notifiers.cpp: Fix use document colors --- embed/mozilla/mozilla-notifiers.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'embed/mozilla') 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 -- cgit v1.2.3