#ifdef USE_CAIRO
static Emacs_Pix_Container
-image_create_pix_container (struct frame *f, unsigned int width,
- unsigned int height, unsigned int depth)
+image_create_pix_container (unsigned int width, unsigned int height,
+ unsigned int depth)
{
Emacs_Pix_Container pimg;
unsigned long fg,
unsigned long bg)
{
- Emacs_Pix_Container pimg = image_create_pix_container (f, width, height, 0);
+ Emacs_Pix_Container pimg = image_create_pix_container (width, height, 0);
int bytes_per_line = (width + (CHAR_BIT - 1)) / CHAR_BIT;
for (int y = 0; y < height; y++)
eassert (input_blocked_p ());
/* Allocate a pixmap of the same size. */
- *pixmap = image_create_pix_container (f, width, height, depth);
+ *pixmap = image_create_pix_container (width, height, depth);
if (*pixmap == NO_PIXMAP)
{
*pimg = NULL;