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 625628 - GDBusProxy: wrong property name sorting
GDBusProxy: wrong property name sorting
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gdbus
unspecified
Other Linux
: Normal normal
: ---
Assigned To: David Zeuthen (not reading bugmail)
gtkdev
Depends on:
Blocks:
 
 
Reported: 2010-07-30 02:37 UTC by Matthias Clasen
Modified: 2010-07-30 20:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2010-07-30 02:37:47 UTC
g_dbus_proxy_get_cached_property_names does

  g_ptr_array_sort (p, (GCompareFunc) g_strcmp0);

which does not work as expected, since 

 * <note><para>The comparison function for g_ptr_array_sort() doesn't
 * take the pointers from the array as arguments, it takes pointers to
 * the pointers in the array.</para></note>
Comment 1 David Zeuthen (not reading bugmail) 2010-07-30 20:35:03 UTC
Fixed here: http://git.gnome.org/browse/glib/commit/?id=dbf230991bab03e64b5bc1a2bb5ab618de2f9212