diff options
author | infirit <[email protected]> | 2014-11-19 19:02:55 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-11-19 21:02:23 +0100 |
commit | b0e12aca2d27fc0819f476d88118e52ed8912366 (patch) | |
tree | 338e1ebad4a2f000b2c2b671fd99f83bc71107e6 /src | |
parent | 09f448bd6a358e1f72ccbf71ed5db19ffb93fcab (diff) | |
download | engrampa-b0e12aca2d27fc0819f476d88118e52ed8912366.tar.bz2 engrampa-b0e12aca2d27fc0819f476d88118e52ed8912366.tar.xz |
Gtk3: Replace deprecated gdk_cursor_unref with g_object_unref
Diffstat (limited to 'src')
-rw-r--r-- | src/dlg-package-installer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dlg-package-installer.c b/src/dlg-package-installer.c index fbe692a..34ea680 100644 --- a/src/dlg-package-installer.c +++ b/src/dlg-package-installer.c @@ -169,7 +169,11 @@ install_packages (InstallerData *idata) cursor = gdk_cursor_new (GDK_WATCH); gdk_window_set_cursor (window, cursor); +#if GTK_CHECK_VERSION (3, 0, 0) + g_object_unref (cursor); +#else gdk_cursor_unref (cursor); +#endif } proxy = g_dbus_proxy_new_sync (connection, |