Mercurial > hg > xemacs-beta
comparison src/objects-gtk.c @ 1726:a8d8f419b459
[xemacs-hg @ 2003-09-30 15:26:34 by james]
Add type information to xfree to avoid alias creation.
author | james |
---|---|
date | Tue, 30 Sep 2003 15:27:01 +0000 |
parents | a1e328407366 |
children | 91d4c8c65a0f |
comparison
equal
deleted
inserted
replaced
1725:7ff8f4d70aec | 1726:a8d8f419b459 |
---|---|
157 gdk_colormap_free_colors (DEVICE_GTK_COLORMAP (XDEVICE (c->device)), | 157 gdk_colormap_free_colors (DEVICE_GTK_COLORMAP (XDEVICE (c->device)), |
158 COLOR_INSTANCE_GTK_COLOR (c), 1); | 158 COLOR_INSTANCE_GTK_COLOR (c), 1); |
159 } | 159 } |
160 gdk_color_free (COLOR_INSTANCE_GTK_COLOR (c)); | 160 gdk_color_free (COLOR_INSTANCE_GTK_COLOR (c)); |
161 } | 161 } |
162 xfree (c->data); | 162 xfree (c->data, void *); |
163 c->data = 0; | 163 c->data = 0; |
164 } | 164 } |
165 } | 165 } |
166 | 166 |
167 /* Color instances are equal if they resolve to the same color on the | 167 /* Color instances are equal if they resolve to the same color on the |
320 { | 320 { |
321 if (DEVICE_LIVE_P (XDEVICE (f->device))) | 321 if (DEVICE_LIVE_P (XDEVICE (f->device))) |
322 { | 322 { |
323 gdk_font_unref (FONT_INSTANCE_GTK_FONT (f)); | 323 gdk_font_unref (FONT_INSTANCE_GTK_FONT (f)); |
324 } | 324 } |
325 xfree (f->data); | 325 xfree (f->data, void *); |
326 f->data = 0; | 326 f->data = 0; |
327 } | 327 } |
328 } | 328 } |
329 | 329 |
330 /* Forward declarations for X specific functions at the end of the file */ | 330 /* Forward declarations for X specific functions at the end of the file */ |