Web lists-archives.org

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@xxxxxxxxxx>

Attachment: pgpUH26FxRP3A.pgp
Description: PGP signature

_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-devel-list