aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-spinner.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-spinner.c')
-rw-r--r--src/ephy-spinner.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ephy-spinner.c b/src/ephy-spinner.c
index 30ffa57c1..e7285bc0d 100644
--- a/src/ephy-spinner.c
+++ b/src/ephy-spinner.c
@@ -666,8 +666,8 @@ ephy_spinner_expose (GtkWidget *widget,
return FALSE;
}
- gc = gdk_gc_new (widget->window);
- gdk_draw_pixbuf (widget->window, gc, pixbuf,
+ gc = gdk_gc_new (gtk_widget_get_window (widget));
+ gdk_draw_pixbuf (gtk_widget_get_window (widget), gc, pixbuf,
dest.x - x_offset - widget->allocation.x,
dest.y - y_offset - widget->allocation.y,
dest.x, dest.y,