summaryrefslogtreecommitdiffhomepage
path: root/mixgtk
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
commit551ab8bf357afa781903680782d70e6513e55364 (patch)
tree9a90d422a55d561c8cf494881e6f223a69fe34dd /mixgtk
parent7291ebf936eba157a7c0149d7ae8fc3ee0f33e10 (diff)
downloadmdk-551ab8bf357afa781903680782d70e6513e55364.tar.gz
mdk-551ab8bf357afa781903680782d70e6513e55364.tar.bz2
remove fonts that cannot be loaded from the config file
Diffstat (limited to 'mixgtk')
-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);
}
}