From 551ab8bf357afa781903680782d70e6513e55364 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Tue, 18 Sep 2001 22:51:29 +0000 Subject: remove fonts that cannot be loaded from the config file --- mixgtk/mixgtk_fontsel.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mixgtk') 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); } } -- cgit v1.2.3