[gimp] Use gtk_widget_get_window() instead of widget->window
- From: Michael Natterer <mitch src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] Use gtk_widget_get_window() instead of widget->window
- Date: Fri, 9 Oct 2009 19:20:41 +0000 (UTC)
commit 06f55eb856103be637983cb5d98b7d318f69c2a1
Author: Michael Natterer <mitch gimp org>
Date: Fri Oct 9 11:56:21 2009 +0200
Use gtk_widget_get_window() instead of widget->window
modules/color-selector-water.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/color-selector-water.c b/modules/color-selector-water.c
index 9a94cef..0a11e4a 100644
--- a/modules/color-selector-water.c
+++ b/modules/color-selector-water.c
@@ -245,7 +245,7 @@ select_area_expose (GtkWidget *widget,
dest += event->area.width * 3;
}
- gdk_draw_rgb_image_dithalign (widget->window,
+ gdk_draw_rgb_image_dithalign (gtk_widget_get_window (widget),
style->fg_gc[widget->state],
event->area.x, event->area.y,
event->area.width, event->area.height,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]