summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael David Emmel <memmel@src.gnome.org>2006-03-30 16:14:18 +0000
committerMichael David Emmel <memmel@src.gnome.org>2006-03-30 16:14:18 +0000
commitcfd72f5cd62e23ca4df0d4d339d84ff928182acd (patch)
tree2a6d52f53d3f0c9b97e5787a2391ce5e7fbbea7e
parent654cfab0e5fde4673c33cd072574f1310951e1f0 (diff)
downloadgtk+-cfd72f5cd62e23ca4df0d4d339d84ff928182acd.tar.gz
Added gdk_pixmap_foreign_new_for_screen
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.pre-2-105
-rw-r--r--gdk/directfb/gdkpixmap-directfb.c12
3 files changed, 22 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index eed8ef45af..0849a1c654 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index eed8ef45af..0849a1c654 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -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)
diff --git a/gdk/directfb/gdkpixmap-directfb.c b/gdk/directfb/gdkpixmap-directfb.c
index 6ddc6a292e..0525a81a54 100644
--- a/gdk/directfb/gdkpixmap-directfb.c
+++ b/gdk/directfb/gdkpixmap-directfb.c
@@ -314,6 +314,18 @@ gdk_pixmap_foreign_new_for_display (GdkDisplay *display, GdkNativeWindow 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)
{
g_warning(" gdk_pixmap_lookup unsuporrted \n");