[gimp/gtk3-port: 68/137] libgimpwidgets: use gdk_cairo_set_source_window() instead of source_pixmap()



commit b4d8377619fefea2fee8fdd20b32e972a0ed7d32
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]