fixed the example code (return TRUE from the expose_event handler).

2002-07-16  Sven Neumann  <sven@gimp.org>

	* gdk/tmpl/rgb.sgml: fixed the example code (return TRUE from the
	expose_event handler).
This commit is contained in:
Sven Neumann 2002-07-16 17:21:25 +00:00 committed by Sven Neumann
parent 8e5a691115
commit 3885b204d3
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-07-16 Sven Neumann <sven@gimp.org>
* gdk/tmpl/rgb.sgml: fixed the example code (return TRUE from the
expose_event handler).
2002-07-07 Matthias Clasen <maclas@gmx.de>
* gdk-pixbuf/gdk-pixbuf-sections.txt,

View File

@ -90,6 +90,8 @@ on_darea_expose (GtkWidget *widget,
gdk_draw_rgb_image (widget->window, widget->style->fg_gc[GTK_STATE_NORMAL],
0, 0, IMAGE_WIDTH, IMAGE_HEIGHT,
GDK_RGB_DITHER_MAX, rgbbuf, IMAGE_WIDTH * 3);
return TRUE;
}
</programlisting>
</example>