[gimp/gtk3-port: 68/218] libgimpwidgets: use gdk_cairo_set_source_window() instead of source_pixmap()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 68/218] libgimpwidgets: use gdk_cairo_set_source_window() instead of source_pixmap()
- Date: Fri, 14 Jan 2011 09:26:06 +0000 (UTC)
commit 6700f1ce0e8ae58ff5d3fd3f2ddda8c2789ee83b
Author: Michael Natterer <mitch gimp org>
Date: Tue Oct 19 13:46:31 2010 +0200
libgimpwidgets: use gdk_cairo_set_source_window() instead of source_pixmap()
libgimpwidgets/gimppickbutton.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgimpwidgets/gimppickbutton.c b/libgimpwidgets/gimppickbutton.c
index 81d5b3a..05482a7 100644
--- a/libgimpwidgets/gimppickbutton.c
+++ b/libgimpwidgets/gimppickbutton.c
@@ -375,7 +375,7 @@ gimp_pick_button_pick (GdkScreen *screen,
cr = cairo_create (image);
- gdk_cairo_set_source_pixmap (cr, root_window, -x_root, -y_root);
+ gdk_cairo_set_source_window (cr, root_window, -x_root, -y_root);
cairo_paint (cr);
cairo_destroy (cr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]