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 572237 - Remove deprecated Glib symbols
Remove deprecated Glib symbols
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: General
git master
Other Linux
: Normal normal
: ---
Assigned To: tracker-general
Jamie McCracken
Depends on:
Blocks: 560423
 
 
Reported: 2009-02-18 04:13 UTC by André Klapper
Modified: 2010-01-04 11:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Substitute g_mapped_file_free (2.16 KB, patch)
2009-11-30 18:14 UTC, Javier Jardón (IRC: jjardon)
none Details | Review

Description André Klapper 2009-02-18 04:13:44 UTC
http://live.gnome.org/GnomeGoals/RemoveDeprecatedSymbols/Glib

./src/trackerd/tracker-xesam-live-search.c:
       g_value_set_boxed_take_ownership (variant,
./src/trackerd/tracker-xesam-live-search.c:
       g_value_set_boxed_take_ownership (variant, my_array);
./src/trackerd/tracker-xesam-live-search.c:
       g_value_set_boxed_take_ownership (variant, my_array);


http://library.gnome.org/devel/gobject/unstable/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-boxed-take-ownership
Comment 1 Carlos Garnacho 2009-02-26 18:00:29 UTC
Thanks for the bug report! I've fixed this in trunk
Comment 2 Frederic Peters 2009-05-02 11:55:18 UTC
The XMP extractor brought back a deprecated symbol:

src/tracker-extract/tracker-extract-xmp.c:
  if (g_strncasecmp (compare_part, compare_with, len - 4) == 0 &&

g_strncasecmp should be replaced by g_ascii_strncasecmp.
Comment 3 Martyn Russell 2009-05-04 10:21:44 UTC
The xesam files no longer exist.

We don't use g_strncasecmp() anywhere in the code now in the 0.6 branch.
I have fixed this in the 0.7 branch.
Comment 4 Javier Jardón (IRC: jjardon) 2009-11-30 18:07:11 UTC
Reopening the bug as tracker is using a newly deprecated glib symbol:

g_mapped_file_free
Comment 5 Javier Jardón (IRC: jjardon) 2009-11-30 18:14:25 UTC
Created attachment 148765 [details] [review]
Substitute g_mapped_file_free
Comment 6 Martyn Russell 2010-01-04 11:20:15 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.

In the future, PLEASE don't reopen old bugs with new problems. The original issue here was fixed and reopening the bug for a new issue is not the right way to do this.

Thanks for the patch. It will be in 0.7.15.