[at-spi2-atk] Fix org.freedesktop.DBus.Properties.GetAll
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-atk] Fix org.freedesktop.DBus.Properties.GetAll
- Date: Fri, 9 Apr 2010 20:54:38 +0000 (UTC)
commit cd30c52d1ca09b4f637b5838cc68fac478270892
Author: Mike Gorse <mgorse novell com>
Date: Thu Apr 8 15:45:27 2010 -0400
Fix org.freedesktop.DBus.Properties.GetAll
droute/droute-pairhash.c | 2 +-
droute/droute.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/droute/droute-pairhash.c b/droute/droute-pairhash.c
index f3b8da2..c2f2c29 100644
--- a/droute/droute-pairhash.c
+++ b/droute/droute-pairhash.c
@@ -60,7 +60,7 @@ str_pair_hash (gconstpointer key)
if (*(pair->two) != '\0')
{
hash = *(pair->two);
- hash = str_hash (hash, ++(pair->two));
+ hash = str_hash (hash, pair->two);
hash = str_hash (hash, pair->one);
}
diff --git a/droute/droute.c b/droute/droute.c
index e2534e1..24ccea4 100644
--- a/droute/droute.c
+++ b/droute/droute.c
@@ -286,7 +286,7 @@ impl_prop_GetAll (DBusMessage *message,
(&iter_dict, DBUS_TYPE_DICT_ENTRY, NULL, &iter_dict_entry))
oom ();
dbus_message_iter_append_basic (&iter_dict_entry, DBUS_TYPE_STRING,
- key->two);
+ &key->two);
(value->get) (&iter_dict_entry, datum);
if (!dbus_message_iter_close_container (&iter_dict, &iter_dict_entry))
oom ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]