Mercurial > emacs
comparison src/xterm.c @ 38255:9ec233999747
* xterm.c (cvt_pixel_dtor): Call x_free_dpy_colors with the
right number of arguments.
* xterm.c (x_list_fonts): Make sure XFreeFont is called
with input blocked.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 02 Jul 2001 12:42:56 +0000 |
parents | b93fb0eb254d |
children | f546577bb4e9 |
comparison
equal
deleted
inserted
replaced
38254:e216e537b5a8 | 38255:9ec233999747 |
---|---|
3471 { | 3471 { |
3472 /* We did allocate the pixel, so free it. */ | 3472 /* We did allocate the pixel, so free it. */ |
3473 Screen *screen = *(Screen **) args[0].addr; | 3473 Screen *screen = *(Screen **) args[0].addr; |
3474 Colormap cmap = *(Colormap *) args[1].addr; | 3474 Colormap cmap = *(Colormap *) args[1].addr; |
3475 x_free_dpy_colors (DisplayOfScreen (screen), screen, cmap, | 3475 x_free_dpy_colors (DisplayOfScreen (screen), screen, cmap, |
3476 (Pixel *) to->addr, 1, 0); | 3476 (Pixel *) to->addr, 1); |
3477 } | 3477 } |
3478 } | 3478 } |
3479 | 3479 |
3480 | 3480 |
3481 #endif /* USE_X_TOOLKIT */ | 3481 #endif /* USE_X_TOOLKIT */ |