comparison src/xterm.c @ 34318:d302f6935ff8

(x_destroy_window): Call x_free_gcs so that resources of non-toolkit X windows will be freed.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 07 Dec 2000 11:43:06 +0000
parents 7bfa8f9909d2
children 06453a32471a
comparison
equal deleted inserted replaced
34317:0378b3d77144 34318:d302f6935ff8
12450 unload_color (f, f->output_data.x->scroll_bar_foreground_pixel); 12450 unload_color (f, f->output_data.x->scroll_bar_foreground_pixel);
12451 if (f->output_data.x->white_relief.allocated_p) 12451 if (f->output_data.x->white_relief.allocated_p)
12452 unload_color (f, f->output_data.x->white_relief.pixel); 12452 unload_color (f, f->output_data.x->white_relief.pixel);
12453 if (f->output_data.x->black_relief.allocated_p) 12453 if (f->output_data.x->black_relief.allocated_p)
12454 unload_color (f, f->output_data.x->black_relief.pixel); 12454 unload_color (f, f->output_data.x->black_relief.pixel);
12455 12455
12456 free_frame_faces (f); 12456 free_frame_faces (f);
12457 x_free_gcs (f);
12457 XFlush (FRAME_X_DISPLAY (f)); 12458 XFlush (FRAME_X_DISPLAY (f));
12458 } 12459 }
12459 12460
12460 if (f->output_data.x->saved_menu_event) 12461 if (f->output_data.x->saved_menu_event)
12461 xfree (f->output_data.x->saved_menu_event); 12462 xfree (f->output_data.x->saved_menu_event);