Unnecessary test in gtk_image_expose()
- Date: Tue, 29 Jan 2008 18:03:01 +0100
- From: Jean-Yves Lefort <jylefort@xxxxxxxxxx>
- Subject: 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
- Prev by Date: Re: GTK+ Website Review - Hosting Windows Binaries
- Next by Date: GTK+ Website - Current status of gtk.org/gtk-doc/
- Previous by thread: buildable_set_name
- Next by thread: GTK+ Website - Current status of gtk.org/gtk-doc/
- Index(es):