diff options
| author | nyamatongwe <devnull@localhost> | 2011-05-02 21:47:55 +1000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2011-05-02 21:47:55 +1000 |
| commit | 2d2f4a913c0b66c24f6c587681d98ee2718cf760 (patch) | |
| tree | 5c5237458f8596ec6efc823e530e3f78b222aebb /gtk/PlatGTK.cxx | |
| parent | ce2182e1b9c59250dc1a36c867e2ea4f9e284b6b (diff) | |
| download | scintilla-mirror-2d2f4a913c0b66c24f6c587681d98ee2718cf760.tar.gz | |
Switching from deprecated gdk_cursor_unref to g_object_unref.
Diffstat (limited to 'gtk/PlatGTK.cxx')
| -rw-r--r-- | gtk/PlatGTK.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index bcc842ce0..9868893c6 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); - gdk_cursor_unref(gdkCurs); + g_object_unref(gdkCurs); } void Window::SetTitle(const char *s) { @@ -2204,7 +2204,7 @@ struct ListImage { static void list_image_free(gpointer, gpointer value, gpointer) { ListImage *list_image = (ListImage *) value; if (list_image->pixbuf) - g_object_unref (list_image->pixbuf); + g_object_unref(list_image->pixbuf); g_free(list_image); } |
