271d9d
diff -up dbus-glib-0.74/dbus/dbus-gobject.c.getall-wincaps-to-uscore dbus-glib-0.74/dbus/dbus-gobject.c
271d9d
--- dbus-glib-0.74/dbus/dbus-gobject.c.getall-wincaps-to-uscore	2008-05-27 08:49:46.000000000 -0400
271d9d
+++ dbus-glib-0.74/dbus/dbus-gobject.c	2008-05-27 09:39:13.000000000 -0400
271d9d
@@ -775,6 +775,7 @@ get_all_object_properties (DBusConnectio
271d9d
   DBusMessageIter iter_dict_entry;
271d9d
   DBusMessageIter iter_dict_value;
271d9d
   const char *p;
271d9d
+  char *uscore_propname;
271d9d
 
271d9d
   ret = dbus_message_new_method_return (message);
271d9d
   if (ret == NULL)
271d9d
@@ -815,13 +816,18 @@ get_all_object_properties (DBusConnectio
271d9d
         p++;
271d9d
       p++;
271d9d
 
271d9d
-      pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (object), prop_name);
271d9d
+      uscore_propname = _dbus_gutils_wincaps_to_uscore (prop_name);
271d9d
+
271d9d
+      pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (object), uscore_propname);
271d9d
       if (pspec == NULL)
271d9d
         {
271d9d
-          g_warning ("introspection data references non-existing property %s", prop_name);
271d9d
+          g_warning ("introspection data references non-existing property %s", uscore_propname);
271d9d
+          g_free (uscore_propname);
271d9d
           continue;
271d9d
         }
271d9d
 
271d9d
+      g_free (uscore_propname);
271d9d
+
271d9d
       g_value_init (&value, pspec->value_type);
271d9d
       g_object_get_property (object, pspec->name, &value);
271d9d