Added gdk_pixmap_foreign_new_for_screen

This commit is contained in:
Michael David Emmel 2006-03-30 16:14:18 +00:00
parent 654cfab0e5
commit cfd72f5cd6
3 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-03-30 Michael Emmel <mike.emmel@gmail.com>
* gdk/directfb/gdkpixmap-directfb.c implement
(gdk_pixmap_foreign_new_for_screen)
2006-03-30 Emmanuele Bassi <ebassi@cvs.gnome.org>
Add documentation for the GtkLinkButton (#336592)

View File

@ -1,3 +1,8 @@
2006-03-30 Michael Emmel <mike.emmel@gmail.com>
* gdk/directfb/gdkpixmap-directfb.c implement
(gdk_pixmap_foreign_new_for_screen)
2006-03-30 Emmanuele Bassi <ebassi@cvs.gnome.org>
Add documentation for the GtkLinkButton (#336592)

View File

@ -313,6 +313,18 @@ gdk_pixmap_foreign_new_for_display (GdkDisplay *display, GdkNativeWindow anid)
return gdk_pixmap_foreign_new(anid);
}
GdkPixmap*
gdk_pixmap_foreign_new_for_screen (GdkScreen *screen,
GdkNativeWindow anid,
gint width,
gint height,
gint depth)
{
/*Use the root drawable for now since only one screen */
return gdk_pixmap_new(NULL,width,height,depth);
}
GdkPixmap*
gdk_pixmap_lookup (GdkNativeWindow anid)
{