Hi, since we bumped the glib and gtk dependencies, it's possible to clean up the code little bit. Patches silence some deprecated warnings and change our code to use more g_clear_pointer and g_clear_object. Thanks, Pavel v2 adds commits for checking version of glib and gtk (works when deprecated warnings are enabled), fixes the commit message in the PATCH 4, fixes wrong usage of g_clear_pointer in the PATCH 6 Pavel Grunt (6): Use GLIB_VERSION_MAX_ALLOWED Use GDK_VERSION_MAX_ALLOWED Use GMutex instead of GStaticMutex Use g_object_unref instead of gdk_cursor_unref Use g_clear_object if possible Use g_clear_pointer if possible configure.ac | 13 +++++++++++-- src/bio-gio.c | 3 +-- src/channel-display-mjpeg.c | 3 +-- src/channel-display.c | 10 +++------- src/channel-main.c | 6 ++---- src/channel-playback.c | 3 +-- src/channel-record.c | 9 +++------ src/channel-smartcard.c | 28 ++++++--------------------- src/channel-usbredir.c | 9 +++------ src/decode-glz.c | 3 +-- src/desktop-integration.c | 6 +++--- src/smartcard-manager.c | 13 +++---------- src/spice-audio.c | 5 +---- src/spice-channel.c | 37 ++++++++---------------------------- src/spice-gstaudio.c | 32 +++++++++---------------------- src/spice-gtk-session.c | 12 +++++------- src/spice-option.c | 3 +-- src/spice-pulse.c | 46 +++++++++++++-------------------------------- src/spice-session.c | 24 ++++++++++------------- src/spice-widget-cairo.c | 11 +++-------- src/spice-widget.c | 44 +++++++++++-------------------------------- src/usb-acl-helper.c | 11 ++--------- src/usbutil.c | 6 +++--- src/wocky-http-proxy.c | 6 ++---- 24 files changed, 106 insertions(+), 237 deletions(-) -- 2.8.0 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel