summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorW. Michael Petullo <mike@flyn.org>2015-09-05 08:27:50 -0400
committerJuan A. Suarez Romero <jasuarez@igalia.com>2015-09-06 16:13:54 +0200
commit55a0edbff2bcb55bd2436b38ccdb86589ac4edcb (patch)
tree3a596ad22afbf90c26a7084a507b8dc39e931286
parent1b4a3af6917e51ec9c2cfe581ee7a56d0d98facc (diff)
downloadgrilo-plugins-55a0edbff2bcb55bd2436b38ccdb86589ac4edcb.tar.gz
dmap: Rename hash_table to hash_tables
https://bugzilla.gnome.org/show_bug.cgi?id=746722
-rw-r--r--src/dmap/grl-daap-db.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dmap/grl-daap-db.c b/src/dmap/grl-daap-db.c
index be4d148..7e3f05d 100644
--- a/src/dmap/grl-daap-db.c
+++ b/src/dmap/grl-daap-db.c
@@ -313,7 +313,7 @@ grl_daap_db_search (GrlDAAPDb *db,
gint i, j, k;
guint remaining = 0;
gpointer key1, val1, key2, val2;
- GHashTable *hash_table[] = { db->priv->albums, db->priv->artists };
+ GHashTable *hash_tables[] = { db->priv->albums, db->priv->artists };
/* Use hash table to avoid duplicates */
GHashTable *results = NULL;
@@ -322,8 +322,8 @@ grl_daap_db_search (GrlDAAPDb *db,
results = g_hash_table_new (g_str_hash, g_str_equal);
/* For albums and artists... */
- for (i = 0; i < G_N_ELEMENTS(hash_table); i++) {
- g_hash_table_iter_init (&iter1, hash_table[i]);
+ for (i = 0; i < G_N_ELEMENTS(hash_tables); i++) {
+ g_hash_table_iter_init (&iter1, hash_tables[i]);
/* For each album or artist in above... */
for (j = 0; g_hash_table_iter_next (&iter1, &key1, &val1); j++) {
if (GRL_IS_MEDIA_BOX (key1)) {