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 678004 - Fix deprecation warning
Fix deprecation warning
Status: RESOLVED FIXED
Product: moserial
Classification: Other
Component: general
svn head
Other All
: Normal normal
: ---
Assigned To: moserial-maint
moserial-maint
Depends on:
Blocks:
 
 
Reported: 2012-06-13 11:19 UTC by Bastien Nocera
Modified: 2012-06-13 16:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix deprecation warning (1023 bytes, patch)
2012-06-13 11:19 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2012-06-13 11:19:09 UTC
.
Comment 1 Bastien Nocera 2012-06-13 11:19:11 UTC
Created attachment 216259 [details] [review]
Fix deprecation warning

src/MoUtils.vala:42.39-42.71: warning: GLib.FILE_ATTRIBUTE_STANDARD_SIZE has been deprecated since vala-0.16. Use FileAttribute.STANDARD_SIZE
Comment 2 Michael Chudobiak 2012-06-13 16:46:32 UTC
Patch committed, but with added #ifdef wrapper to keep backward compatibility for a while:

http://git.gnome.org/browse/moserial/commit/?id=dbe13051678ed4f3424c41e7ae8e096dbbf8fdad