aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/PlatGTK.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2011-05-02 22:18:21 +1000
committernyamatongwe <unknown>2011-05-02 22:18:21 +1000
commitda90f4795826d7d55759f757c08c8fb95239ed28 (patch)
tree9a944d9b042c5a66e1344a5597cfd8d92338cac1 /gtk/PlatGTK.cxx
parent9d2653ab7decc2f1eb2568677bfcf0cc15e685c8 (diff)
downloadscintilla-mirror-da90f4795826d7d55759f757c08c8fb95239ed28.tar.gz
Retreated from turning gdk_cursor_unref into g_object_unref as this caused crashes.
Diffstat (limited to 'gtk/PlatGTK.cxx')
-rw-r--r--gtk/PlatGTK.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx
index aaf10149b..d04b9eaad 100644
--- a/gtk/PlatGTK.cxx
+++ b/gtk/PlatGTK.cxx
@@ -2161,7 +2161,7 @@ void Window::SetCursor(Cursor curs) {
if (WindowFromWidget(PWidget(wid)))
gdk_window_set_cursor(WindowFromWidget(PWidget(wid)), gdkCurs);
- g_object_unref(gdkCurs);
+ gdk_cursor_unref(gdkCurs);
}
void Window::SetTitle(const char *s) {