summaryrefslogtreecommitdiff
path: root/pluma/pluma-tab.c
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2015-11-20 01:46:26 +0100
committerWolfgang Ulbrich <[email protected]>2015-11-26 14:31:50 +0100
commitcf7db5e02ea308bbe59f15f2a3973b0bd9e79df4 (patch)
treef6e2b69346061226afb5731c905246c234b0b7ae /pluma/pluma-tab.c
parente357519c943f8bacaf8d6b4737530ba09d79959c (diff)
downloadpluma-cf7db5e02ea308bbe59f15f2a3973b0bd9e79df4.tar.bz2
pluma-cf7db5e02ea308bbe59f15f2a3973b0bd9e79df4.tar.xz
GTK3: replace reprecatated gdk_cursor functions
- Gtk+-3.16: gdk_cursor_new --> gdk_cursor_new_for_display - GTK3: gdk_cursor_unref --> g_object_unref
Diffstat (limited to 'pluma/pluma-tab.c')
-rw-r--r--pluma/pluma-tab.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pluma/pluma-tab.c b/pluma/pluma-tab.c
index 86e1b184..0e1e38ed 100644
--- a/pluma/pluma-tab.c
+++ b/pluma/pluma-tab.c
@@ -49,6 +49,10 @@
#define PLUMA_TAB_KEY "PLUMA_TAB_KEY"
+#if GTK_CHECK_VERSION (3, 0, 0)
+#define gdk_cursor_unref(cursor) g_object_unref (cursor)
+#endif
+
struct _PlumaTabPrivate
{
PlumaTabState state;