Improve an example

This commit is contained in:
Matthias Clasen 2005-08-12 13:04:04 +00:00
parent 59121c52b3
commit 2e680b56f5
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2005-08-12 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf/tmpl/scaling.sgml: Remove a
confusing gdk_window_set_back_pixmap() call
from the example, pointed out by Owen
Taylor.
2005-08-11 Matthias Clasen <mclasen@redhat.com>
* gtk/building.sgml: Updates.

View File

@ -42,8 +42,6 @@ expose_cb (GtkWidget *widget, GdkEventExpose *event, gpointer data)
{
GdkPixbuf *dest;
gdk_window_set_back_pixmap (widget->window, NULL, FALSE);
dest = gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, 8, event->area.width, event->area.height);
gdk_pixbuf_composite_color (pixbuf, dest,