From 97f14dfaa15c1d36128848d1deb67fec0e688233 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Wed, 27 Jun 2001 22:50:00 +0000 Subject: hot split swap --- mixgtk/mixgtk_fontsel.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mixgtk/mixgtk_fontsel.c') diff --git a/mixgtk/mixgtk_fontsel.c b/mixgtk/mixgtk_fontsel.c index a72c5e7..7a9b33e 100644 --- a/mixgtk/mixgtk_fontsel.c +++ b/mixgtk/mixgtk_fontsel.c @@ -98,11 +98,14 @@ change_font_ (mixgtk_widget_id_t widget) } void -mixgtk_fontsel_load_defaults (gboolean split) +mixgtk_fontsel_load_defaults (void) { int i; const gchar *font = NULL; + gboolean split = mixgtk_config_is_split (); + fontsel_dialog_ = NULL; + if (winfo_) g_hash_table_destroy (winfo_); winfo_ = g_hash_table_new (NULL, NULL); dialog_ids_ = split? dialog_ids_split_ : dialog_ids_no_split_; -- cgit v1.2.3