aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-08-08 01:07:20 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-08-08 01:07:20 +0800
commit164d34f58d39f7b267b570ad3e467fff0bf49eb7 (patch)
tree036301e6374ec92e62c997ff452fec9afba706a8 /embed/mozilla
parenta35fc005a66d9976f47526783412868db73ad867 (diff)
downloadgsoc2013-epiphany-164d34f58d39f7b267b570ad3e467fff0bf49eb7.tar
gsoc2013-epiphany-164d34f58d39f7b267b570ad3e467fff0bf49eb7.tar.gz
gsoc2013-epiphany-164d34f58d39f7b267b570ad3e467fff0bf49eb7.tar.bz2
gsoc2013-epiphany-164d34f58d39f7b267b570ad3e467fff0bf49eb7.tar.lz
gsoc2013-epiphany-164d34f58d39f7b267b570ad3e467fff0bf49eb7.tar.xz
gsoc2013-epiphany-164d34f58d39f7b267b570ad3e467fff0bf49eb7.tar.zst
gsoc2013-epiphany-164d34f58d39f7b267b570ad3e467fff0bf49eb7.zip
*** empty log message ***
Diffstat (limited to 'embed/mozilla')
-rw-r--r--embed/mozilla/mozilla-notifiers.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/embed/mozilla/mozilla-notifiers.cpp b/embed/mozilla/mozilla-notifiers.cpp
index d8e63023d..e267d3423 100644
--- a/embed/mozilla/mozilla-notifiers.cpp
+++ b/embed/mozilla/mozilla-notifiers.cpp
@@ -245,6 +245,8 @@ mozilla_font_size_notifier (GConfClient *client,
{
char key[255];
+ if (entry->value == NULL) return;
+
sprintf (key, "font.%s", pref);
mozilla_prefs_set_int (key, eel_gconf_get_integer (entry->key));
@@ -314,6 +316,8 @@ mozilla_font_notifier (GConfClient *client,
{
char key[255];
char *name;
+
+ if (entry->value == NULL) return;
sprintf (key, "font.name.%s", pref);