]> Pileus Git - ~andy/gtk/commitdiff
Improve an example
authorMatthias Clasen <matthiasc@src.gnome.org>
Fri, 12 Aug 2005 13:04:04 +0000 (13:04 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 12 Aug 2005 13:04:04 +0000 (13:04 +0000)
docs/reference/ChangeLog
docs/reference/gdk-pixbuf/tmpl/scaling.sgml

index 99ffd454343562ca7dc705091d4b1ea510fa8dc1..66905d69b038179910ec5a58c5dbdc1de28230e8 100644 (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.
index 7367f86ac23bccd8892235cb80f95b7985a9cf60..e48025bb137fab718d9cd6c1f41e3b33c49f4eef 100644 (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,