Mercurial > hg > xemacs-beta
comparison src/device-gtk.c @ 4117:229bd619740a
[xemacs-hg @ 2007-08-15 11:06:02 by crestani]
2007-08-15 Marcus Crestani <crestani@xemacs.org>
* buffer.c (Fkill_buffer):
* console-tty.c (free_tty_console_struct):
* device-gtk.c (free_gtk_device_struct):
* device-msw.c (mswindows_delete_device):
* device-msw.c (msprinter_delete_device):
* device-x.c (free_x_device_struct):
* device-x.c (x_delete_device):
* dynarr.c (Dynarr_lisp_realloc):
* dynarr.c (Dynarr_free):
* elhash.c:
* elhash.c (finalize_hash_table):
* elhash.c (resize_hash_table):
* elhash.c (pdump_reorganize_hash_table):
* extents.c (gap_array_delete_marker):
* frame-gtk.c (gtk_delete_frame):
* frame-msw.c (mswindows_delete_frame):
* frame-x.c (x_delete_frame):
* glyphs.c (check_for_ignored_expose):
* mc-alloc.c (mc_realloc_1):
* mc-alloc.h:
* objects-tty.c (tty_finalize_color_instance):
* objects-tty.c (tty_finalize_font_instance):
* objects-tty.c (console_type_create_objects_tty):
* syntax.c:
* syntax.c (uninit_buffer_syntax_cache):
* vdb.c (Ftest_vdb): Remove all calls to mc_free.
author | crestani |
---|---|
date | Wed, 15 Aug 2007 11:06:10 +0000 |
parents | 141c2920ea48 |
children | e34711681f30 |
comparison
equal
deleted
inserted
replaced
4116:9a42c5e5eb4e | 4117:229bd619740a |
---|---|
357 | 357 |
358 /************************************************************************/ | 358 /************************************************************************/ |
359 /* closing an X connection */ | 359 /* closing an X connection */ |
360 /************************************************************************/ | 360 /************************************************************************/ |
361 | 361 |
362 #ifndef NEW_GC | |
362 static void | 363 static void |
363 free_gtk_device_struct (struct device *d) | 364 free_gtk_device_struct (struct device *d) |
364 { | 365 { |
365 #ifdef NEW_GC | |
366 mc_free (d->device_data); | |
367 #else /* not NEW_GC */ | |
368 xfree (d->device_data, void *); | 366 xfree (d->device_data, void *); |
367 } | |
369 #endif /* not NEW_GC */ | 368 #endif /* not NEW_GC */ |
370 } | |
371 | 369 |
372 static void | 370 static void |
373 gtk_delete_device (struct device *d) | 371 gtk_delete_device (struct device *d) |
374 { | 372 { |
375 #ifdef FREE_CHECKING | 373 #ifdef FREE_CHECKING |