Mercurial > emacs
comparison src/xterm.c @ 11166:0e9fad3ccf03
(x_delete_display): Extract kboard deletion, for modularity.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Fri, 31 Mar 1995 03:57:05 +0000 |
parents | 95b70c82ec51 |
children | 571306c7b038 |
comparison
equal
deleted
inserted
replaced
11165:d5cd4e375335 | 11166:0e9fad3ccf03 |
---|---|
5809 /* I'm told Xt does this itself. */ | 5809 /* I'm told Xt does this itself. */ |
5810 XrmDestroyDatabase (dpyinfo->xrdb); | 5810 XrmDestroyDatabase (dpyinfo->xrdb); |
5811 #endif | 5811 #endif |
5812 #ifdef MULTI_KBOARD | 5812 #ifdef MULTI_KBOARD |
5813 if (--dpyinfo->kboard->reference_count == 0) | 5813 if (--dpyinfo->kboard->reference_count == 0) |
5814 { | 5814 delete_kboard (dpyinfo->kboard); |
5815 KBOARD **kbp; | |
5816 for (kbp = &all_kboards; *kbp != dpyinfo->kboard; | |
5817 kbp = &(*kbp)->next_kboard) | |
5818 if (*kbp == NULL) | |
5819 abort (); | |
5820 *kbp = dpyinfo->kboard->next_kboard; | |
5821 wipe_kboard (dpyinfo->kboard); | |
5822 xfree (dpyinfo->kboard); | |
5823 } | |
5824 #endif | 5815 #endif |
5825 xfree (dpyinfo->font_table); | 5816 xfree (dpyinfo->font_table); |
5826 xfree (dpyinfo->x_id_name); | 5817 xfree (dpyinfo->x_id_name); |
5827 xfree (dpyinfo); | 5818 xfree (dpyinfo); |
5828 } | 5819 } |