summaryrefslogtreecommitdiffstats
path: root/src/desktop.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2012-02-11 14:18:58 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2012-02-11 14:18:58 +0000
commitc97e51003b3eb0c24fd3cd79f0d36609f48a5b4e (patch)
tree9f3e5d4d80e0ac40bb285e41b5a20ac34df414ce /src/desktop.cpp
parentLots of gtkmm deprecation fixes (diff)
downloadinkscape-c97e51003b3eb0c24fd3cd79f0d36609f48a5b4e.tar.gz
inkscape-c97e51003b3eb0c24fd3cd79f0d36609f48a5b4e.zip
GSEAL fixes
(bzr r10958)
Diffstat (limited to 'src/desktop.cpp')
-rw-r--r--src/desktop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp
index b42f0db04..13022fc62 100644
--- a/src/desktop.cpp
+++ b/src/desktop.cpp
@@ -1395,7 +1395,7 @@ void SPDesktop::disableInteraction()
void SPDesktop::setWaitingCursor()
{
GdkCursor *waiting = gdk_cursor_new(GDK_WATCH);
- gdk_window_set_cursor(GTK_WIDGET(sp_desktop_canvas(this))->window, waiting);
+ gdk_window_set_cursor(gtk_widget_get_window(GTK_WIDGET(sp_desktop_canvas(this))), waiting);
gdk_cursor_unref(waiting);
// GDK needs the flush for the cursor change to take effect
gdk_flush();