Update usage of GObject private structures

Enterprise / Virtualization / SPICE - Eduardo Lima (Etrunko) [redhat.com] - 8 February 2019 11:49 EST

New functions and macros have been added in glib 2.38 to better handle this case.

https://gitlab.gnome.org/GNOME/glib/blob/c8de2b11bbbf5705ee20bf68d0c11e455b441312/NEWS

G_TYPE_INSTANCE_GET_PRIVATE will be deprecated in GLib 2.58.

https://gitlab.gnome.org/GNOME/glib/merge_requests/7/commits

90ff154b Update usage of GObject private structures
server/char-device.c | 8 ++------
server/common-graphics-channel.c | 22 +++++++---------------
server/cursor-channel-client.c | 12 ++++--------
server/dispatcher.c | 11 +++--------
server/inputs-channel-client.c | 11 +++--------
server/main-channel-client.c | 11 +++--------
server/main-dispatcher.c | 10 ++--------
server/red-channel-client.c | 9 +++------
server/red-channel.c | 11 +++--------
server/reds.c | 8 ++------
server/smartcard-channel-client.c | 6 +-----
server/smartcard.c | 13 +++----------
12 files changed, 36 insertions(+), 96 deletions(-)

Upstream: cgit.freedesktop.org


  • Share