summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2001-09-18 22:51:29 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2001-09-18 22:51:29 +0000
commitdbd8c719c62f16ba5b2f035c440662ac03206ca9 (patch)
treef26756eb7eb18e4d48095cbd1c4b8093a3d2e2ac
parent0fb43660a32732d01204c1b66d25c84e4d73b2e3 (diff)
downloadmdk-dbd8c719c62f16ba5b2f035c440662ac03206ca9.tar.gz
mdk-dbd8c719c62f16ba5b2f035c440662ac03206ca9.tar.bz2
remove fonts that cannot be loaded from the config file
-rw-r--r--mixgtk/mixgtk_fontsel.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mixgtk/mixgtk_fontsel.c b/mixgtk/mixgtk_fontsel.c
index 620b07f..7986f4d 100644
--- a/mixgtk/mixgtk_fontsel.c
+++ b/mixgtk/mixgtk_fontsel.c
@@ -1,7 +1,7 @@
/* -*-c-*- -------------- mixgtk_fontsel.c :
* Implementation of the functions declared in mixgtk_fontsel.h
* ------------------------------------------------------------------
- * $Id: mixgtk_fontsel.c,v 1.13 2001/09/18 21:49:51 jao Exp $
+ * $Id: mixgtk_fontsel.c,v 1.14 2001/09/18 22:51:29 jao Exp $
* ------------------------------------------------------------------
* Copyright (C) 2001 Free Software Foundation, Inc.
*
@@ -186,8 +186,10 @@ mixgtk_fontsel_set (mixgtk_widget_id_t widget, const gchar *font)
mixvm_children_[k]),
NULL);
}
+ mixgtk_config_update (w->key, w->font);
}
- mixgtk_config_update (w->key, w->font);
+ else
+ mixgtk_config_remove (w->key);
}
}