Remove uses of deprecated api in example. (#454835, Guillaume Cottenceau)

2007-07-09  Matthias Clasen  <mclasen@redhat.com>

        * gdk-pixbuf/tmpl/scaling.sgml: Remove uses of deprecated api
        in example.  (#454835, Guillaume Cottenceau)


svn path=/trunk/; revision=18420
This commit is contained in:
Matthias Clasen 2007-07-09 19:33:42 +00:00 committed by Matthias Clasen
parent d8a25fcdff
commit eab944bb15
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2007-07-09 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf/tmpl/scaling.sgml: Remove uses of deprecated api
in example. (#454835, Guillaume Cottenceau)
2007-07-09 Johan Dahlin,,, <jdahlin@lozenge>
* gtk/tmpl/gtkactiongroup.sgml: Document <accelerator> element

View File

@ -61,10 +61,10 @@ expose_cb (GtkWidget *widget, GdkEventExpose *event, gpointer data)
GDK_INTERP_BILINEAR, 255,
event->area.x, event->area.y, 16, 0xaaaaaa, 0x555555);
gdk_pixbuf_render_to_drawable (dest, widget->window, widget->style->fg_gc[GTK_STATE_NORMAL],
0, 0, event->area.x, event->area.y,
event->area.width, event->area.height,
GDK_RGB_DITHER_NORMAL, event->area.x, event->area.y);
gdk_draw_pixbuf (widget->window, widget->style->fg_gc[GTK_STATE_NORMAL], dest,
0, 0, event->area.x, event->area.y,
event->area.width, event->area.height,
GDK_RGB_DITHER_NORMAL, event->area.x, event->area.y);
gdk_pixbuf_unref (dest);