mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
Improve an example
This commit is contained in:
parent
59121c52b3
commit
2e680b56f5
@ -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.
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user