Unnecessary test in gtk_image_expose()



In gtk_image_expose() there is:

	area = event->area;

	/* ... */

	if (!gdk_rectangle_intersect (&area, &widget->allocation, &area))
	  return FALSE;

Isn't this test unnecessary? It seems to me that event->area is always
enclosed in widget->allocation. Am I missing something?

-- 
Jean-Yves Lefort <jylefort brutele be>

Attachment: pgpnfzXsXoHn1.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]