Use gtk_widget_get_window() instead of widget->window

This commit is contained in:
Michael Natterer 2009-10-09 11:02:51 +02:00
parent 33150b4a1b
commit 2da2c510d2
1 changed files with 1 additions and 1 deletions

View File

@ -480,7 +480,7 @@ gimp_draw_tool_draw_guide_line (GimpDrawTool *draw_tool,
x1 = 0;
y1 = 0;
gdk_drawable_get_size (shell->canvas->window, &x2, &y2);
gdk_drawable_get_size (gtk_widget_get_window (shell->canvas), &x2, &y2);
switch (orientation)
{