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 727478 - artist, title and prefix arguments in get_file should allow null values
artist, title and prefix arguments in get_file should allow null values
Status: RESOLVED FIXED
Product: libmediaart
Classification: Other
Component: Cache
0.4.x
Other Linux
: Normal normal
: ---
Assigned To: libmediaart maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-04-02 06:42 UTC by Arnel Borja
Modified: 2014-09-10 09:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to add the necessary annotations (1.70 KB, patch)
2014-04-02 06:44 UTC, Arnel Borja
committed Details | Review

Description Arnel Borja 2014-04-02 06:42:12 UTC
The function media_art_get_file checks for null values in artist, title and prefix arguments, and puts special values on them if they do. They should have the allow-none annotation so bindings could allow null values.

Same with get_path which just calls get_file internally.
Comment 1 Arnel Borja 2014-04-02 06:44:25 UTC
Created attachment 273449 [details] [review]
Patch to add the necessary annotations
Comment 2 Martyn Russell 2014-09-10 09:04:14 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 3 Martyn Russell 2014-09-10 09:04:30 UTC
Comment on attachment 273449 [details] [review]
Patch to add the necessary annotations

Thanks for the patch! :)