API: gdk_pixbuf_get_from_drawable() => gdk_pixbuf_get_from_window()

The Colormap argument needed to be removed, so the renaming is just a
side effect.
This commit is contained in:
Benjamin Otte
2010-08-28 23:51:58 +02:00
parent a9f198082a
commit e316157671
8 changed files with 28 additions and 69 deletions

View File

@ -112,8 +112,8 @@ main (int argc, char **argv)
gtk_init (&argc, &argv);
root = gdk_get_default_root_window ();
pixbuf = gdk_pixbuf_get_from_drawable (NULL, root, NULL,
0, 0, 0, 0, 150, 160);
pixbuf = gdk_pixbuf_get_from_window (NULL, root,
0, 0, 0, 0, 150, 160);
/* PASS */
g_debug ("try to save PNG with a profile");