]> Pileus Git - ~andy/gtk/commit
gdk: Make gdk_pixbuf_get_from_*() bindable
authorBenjamin Otte <otte@redhat.com>
Sat, 2 Oct 2010 00:47:55 +0000 (02:47 +0200)
committerBenjamin Otte <otte@redhat.com>
Sat, 2 Oct 2010 01:08:24 +0000 (03:08 +0200)
commit872ef111ecabf6cd4453590b1e17afd3c9757f28
treef84fe201a6661ac903334e780604a558b4bfc923
parent0555dd06454a649943f8420512303ddd02ed5867
gdk: Make gdk_pixbuf_get_from_*() bindable

The ownership of the return value for gdk_pixbuf_get_from_window() and
gdk_pixbuf_get_from_surface() was determined by the first argument.

Because that is an ugly design and the functions are new to GTK3, we
decided to adapt them.
And that adaptation was quite easy since almost no one passses anything
but NULL as the first argument.
demos/testpixbuf-color.c
demos/testpixbuf-save.c
docs/tools/shooter.c
gdk/gdkpixbuf-drawable.c
gdk/gdkpixbuf.h
gtk/gtkcolorsel.c
gtk/gtkoffscreenwindow.c