[Webkit-unassigned] [Bug 44254] r64526 broke the GTK+-3 build
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 19 05:31:50 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=44254
--- Comment #2 from Philippe Normand <pnormand at igalia.com> 2010-08-19 05:31:50 PST ---
And commit 4f37e6833c356ac3c70e084ede86ff05db84f703 has a nice example:
+ cairo_t *cr;
screen = gdk_display_get_default_screen (display);
- pixmap = gdk_bitmap_create_from_data (gdk_screen_get_root_window (screen),
- "\0\0\0\0\0\0\0\0", 1, 1);
+ pixmap = gdk_pixmap_new (gdk_screen_get_root_window (screen), 1, 1, 1);
+ /* Clear Pixmap */
+ cr = gdk_cairo_create (pixmap);
+ cairo_set_operator (cr, CAIRO_OPERATOR_CLEAR);
+ cairo_paint (cr);
+ cairo_destroy (cr);
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list