]> Pileus Git - ~andy/gtk/commitdiff
Follow change in cairo API to add Screen* to
authorKeith Packard <keithp@keithp.com>
Thu, 21 Jul 2005 03:57:00 +0000 (03:57 +0000)
committerKeith Packard <keithp@src.gnome.org>
Thu, 21 Jul 2005 03:57:00 +0000 (03:57 +0000)
2005-07-20  Keith Packard  <keithp@keithp.com>

* gdk/x11/gdkdrawable-x11.c: (gdk_x11_ref_cairo_surface):

Follow change in cairo API to add Screen* to
cairo_xlib_create_surface_for_bitmap

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
gdk/x11/gdkdrawable-x11.c

index 363cba72b46cbba5acbefdedec8dd6b9d0ca105f..2ce4f300e745ecfaeaeea72468098514a90b3ea6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-07-20  Keith Packard  <keithp@keithp.com>
+
+       * gdk/x11/gdkdrawable-x11.c: (gdk_x11_ref_cairo_surface):
+
+       Follow change in cairo API to add Screen* to
+       cairo_xlib_create_surface_for_bitmap
+
 2005-07-20  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtkicontheme.c (load_svg_at_size): Explicitly use the 
index 363cba72b46cbba5acbefdedec8dd6b9d0ca105f..2ce4f300e745ecfaeaeea72468098514a90b3ea6 100644 (file)
@@ -1,3 +1,10 @@
+2005-07-20  Keith Packard  <keithp@keithp.com>
+
+       * gdk/x11/gdkdrawable-x11.c: (gdk_x11_ref_cairo_surface):
+
+       Follow change in cairo API to add Screen* to
+       cairo_xlib_create_surface_for_bitmap
+
 2005-07-20  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtkicontheme.c (load_svg_at_size): Explicitly use the 
index 363cba72b46cbba5acbefdedec8dd6b9d0ca105f..2ce4f300e745ecfaeaeea72468098514a90b3ea6 100644 (file)
@@ -1,3 +1,10 @@
+2005-07-20  Keith Packard  <keithp@keithp.com>
+
+       * gdk/x11/gdkdrawable-x11.c: (gdk_x11_ref_cairo_surface):
+
+       Follow change in cairo API to add Screen* to
+       cairo_xlib_create_surface_for_bitmap
+
 2005-07-20  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtkicontheme.c (load_svg_at_size): Explicitly use the 
index 15a41c437272a3446a35ca03f4137041c7181ff8..e18208bde708208a27f5aacdf05133f94adc4c37 100644 (file)
@@ -1485,6 +1485,7 @@ gdk_x11_ref_cairo_surface (GdkDrawable *drawable)
       else if (gdk_drawable_get_depth (drawable) == 1)
        impl->cairo_surface = cairo_xlib_surface_create_for_bitmap (GDK_SCREEN_XDISPLAY (impl->screen),
                                                                    impl->xid,
+                                                                   GDK_SCREEN_XSCREEN (impl->screen),
                                                                    width, height);
       else
        {