diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-05-08 21:19:58 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-05-08 21:19:58 +0200 |
commit | e012eadbff26f03628ed22fd190e5cefc48fd41a (patch) | |
tree | 69eade60f9bb7b78e81013f4422c56dae798a1a2 | |
parent | 7c099e76ae58a548f1f2123c40de1ef7597ad6a5 (diff) |
Cast tag->id to gpointer in tagview_model_foreach.
-rw-r--r-- | window_tag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/window_tag.c b/window_tag.c index 6a067dc..6c24e73 100644 --- a/window_tag.c +++ b/window_tag.c @@ -37,7 +37,7 @@ static gboolean tagview_model_foreach(GtkTreeModel *model, GtkTreePath *path, Gt data = user_data; tag_model_get_tag_record(GTK_TREE_MODEL(model), iter, &tag); - inconsistent_data = g_hash_table_lookup(data->inconsistent_table, tag->id); + inconsistent_data = g_hash_table_lookup(data->inconsistent_table, (gpointer)tag->id); if(inconsistent_data) { tag_model_set_checked(GTK_TREE_MODEL(model), iter, inconsistent_data->active); tag_model_set_inconsistent(GTK_TREE_MODEL(model), iter, inconsistent_data->inconsistent); |