diff options
author | Wolfgang Ulbrich <[email protected]> | 2015-12-01 23:42:18 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2015-12-01 23:42:18 +0100 |
commit | 3d2d7963abc558a09939aa4b0e4bdcedfb80b10e (patch) | |
tree | a06e0c892dcd69b015bffc47a6c030d840a4d25d /pluma | |
parent | 9c41b25138d7bff3554d4be038f92c16d56dc734 (diff) | |
parent | cf7db5e02ea308bbe59f15f2a3973b0bd9e79df4 (diff) | |
download | pluma-3d2d7963abc558a09939aa4b0e4bdcedfb80b10e.tar.bz2 pluma-3d2d7963abc558a09939aa4b0e4bdcedfb80b10e.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')
-rw-r--r-- | pluma/pluma-tab.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pluma/pluma-tab.c b/pluma/pluma-tab.c index 11407b44..723dfaf1 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; |