diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2011-09-20 15:21:50 +0100 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2011-09-20 16:04:34 +0100 |
commit | 114a25a2cb9a1f57560cca30bddfeaeaeec0e3b6 (patch) | |
tree | e855d353e34fc28da6b7f92ff19286d0255c5752 | |
parent | b070c914d5f59f2f5b7a5cd1ad476b9c4729eaaf (diff) |
Roster: rename updates_nicknames to updated_nicknames
This is a typo!
-rw-r--r-- | src/roster.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/roster.c b/src/roster.c index 6091a24a..798b83c6 100644 --- a/src/roster.c +++ b/src/roster.c @@ -1094,7 +1094,7 @@ process_roster ( TpBaseConnection *conn = (TpBaseConnection *) priv->conn; TpHandleRepoIface *contact_repo = tp_base_connection_get_handles (conn, TP_HANDLE_TYPE_CONTACT); - GArray *updates_nicknames = g_array_new (FALSE, FALSE, sizeof (TpHandle)); + GArray *updated_nicknames = g_array_new (FALSE, FALSE, sizeof (TpHandle)); /* asymmetry is because we don't get locally pending subscription * requests via <roster>, we get it via <presence> */ @@ -1142,7 +1142,7 @@ process_roster ( #endif if (nickname_updated) - g_array_append_val (updates_nicknames, handle); + g_array_append_val (updated_nicknames, handle); /* handle publish list changes */ switch (item->subscription) @@ -1317,8 +1317,8 @@ process_roster ( _gabble_roster_item_maybe_remove (roster, handle); } - if (updates_nicknames->len > 0) - g_signal_emit (roster, signals[NICKNAMES_UPDATE], 0, updates_nicknames); + if (updated_nicknames->len > 0) + g_signal_emit (roster, signals[NICKNAMES_UPDATE], 0, updated_nicknames); tp_base_contact_list_contacts_changed ((TpBaseContactList *) roster, changed, removed); @@ -1330,7 +1330,7 @@ process_roster ( tp_handle_set_destroy (blocking_changed); } - g_array_free (updates_nicknames, TRUE); + g_array_free (updated_nicknames, TRUE); tp_handle_set_destroy (changed); tp_handle_set_destroy (removed); tp_handle_set_destroy (referenced_handles); |