[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:19:55 +0000 (UTC)
commit f34cdad2bc3a290a2781024160ec2df33bde469e
Author: Michael Natterer <mitch gimp org>
Date: Fri Oct 9 11:05:10 2009 +0200
Use gtk_widget_get_window() instead of widget->window
app/dialogs/about-dialog.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/app/dialogs/about-dialog.c b/app/dialogs/about-dialog.c
index 6773175..4459058 100644
--- a/app/dialogs/about-dialog.c
+++ b/app/dialogs/about-dialog.c
@@ -295,7 +295,8 @@ about_dialog_anim_expose (GtkWidget *widget,
gdk_region_destroy (covered_region);
}
- gdk_draw_layout (widget->window, text_gc, x, y, dialog->layout);
+ gdk_draw_layout (gtk_widget_get_window (widget),
+ text_gc, x, y, dialog->layout);
gdk_gc_set_clip_region (text_gc, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]