Mercurial > hg > xemacs-beta
comparison src/frame.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 | 969b7290edca |
children | 04bc9d2f42c7 |
comparison
equal
deleted
inserted
replaced
1725:7ff8f4d70aec | 1726:a8d8f419b459 |
---|---|
3470 if (HAS_FRAMEMETH_P (f, set_icon_name_from_ibyte)) | 3470 if (HAS_FRAMEMETH_P (f, set_icon_name_from_ibyte)) |
3471 { | 3471 { |
3472 if (!EQ (icon_format, title_format) || !title) | 3472 if (!EQ (icon_format, title_format) || !title) |
3473 { | 3473 { |
3474 if (title) | 3474 if (title) |
3475 xfree (title); | 3475 xfree (title, Ibyte *); |
3476 | 3476 |
3477 title = generate_title_string (w, icon_format, | 3477 title = generate_title_string (w, icon_format, |
3478 DEFAULT_INDEX, CURRENT_DISP); | 3478 DEFAULT_INDEX, CURRENT_DISP); |
3479 } | 3479 } |
3480 FRAMEMETH (f, set_icon_name_from_ibyte, (f, title)); | 3480 FRAMEMETH (f, set_icon_name_from_ibyte, (f, title)); |
3481 } | 3481 } |
3482 | 3482 |
3483 if (title) | 3483 if (title) |
3484 xfree (title); | 3484 xfree (title, Ibyte *); |
3485 } | 3485 } |
3486 | 3486 |
3487 | 3487 |
3488 DEFUN ("set-frame-pointer", Fset_frame_pointer, 2, 2, 0, /* | 3488 DEFUN ("set-frame-pointer", Fset_frame_pointer, 2, 2, 0, /* |
3489 Set the mouse pointer of FRAME to the given pointer image instance. | 3489 Set the mouse pointer of FRAME to the given pointer image instance. |