After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 661148 - Adapt to GLib 2.31 deprecations and thread API changes
Adapt to GLib 2.31 deprecations and thread API changes
Status: RESOLVED FIXED
Product: gvfs
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Tomas Bzatek
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2011-10-07 04:10 UTC by Matthias Clasen
Modified: 2011-10-26 12:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Adapt to GLib 2.31 deprecations and thread API changes (17.24 KB, patch)
2011-10-07 04:10 UTC, Matthias Clasen
committed Details | Review

Description Matthias Clasen 2011-10-07 04:10:20 UTC
GStaticMutex and GStaticRWLock have been replaced by GMutex
and GRWLock, and g_thread_init() is no longer needed.
Comment 1 Matthias Clasen 2011-10-07 04:10:22 UTC
Created attachment 198500 [details] [review]
Adapt to GLib 2.31 deprecations and thread API changes
Comment 2 Tomas Bzatek 2011-10-21 12:17:02 UTC
Committed with minor changes. Thanks for the patch!

commit bd014bd8a442cae12aace7deb6e6a4d21ac3dd0e
Author: Matthias Clasen <mclasen@redhat.com>
Date:   Fri Oct 21 14:15:09 2011 +0200

    Adapt to GLib 2.31 deprecations and thread API changes
    
    GStaticMutex and GStaticRWLock have been replaced by GMutex
    and GRWLock, and g_thread_init() is no longer needed.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=661148
Comment 3 Tomas Bzatek 2011-10-21 12:18:01 UTC
Leaving open as there are few other deprecated functions called, will fix them later.
Comment 4 Tomas Bzatek 2011-10-26 12:14:11 UTC
I've pushed two more commits fixing the usage of deprecated API to master. Considering this fixed.