Commit dd4c4eda authored by Alberts Muktupāvels's avatar Alberts Muktupāvels

tracker-search-bar: fix -Wcast-function-type warning

parent d2b128f4
......@@ -696,9 +696,7 @@ search_query_free (SearchQuery *sq)
g_object_unref (sq->cancellable);
g_slist_foreach (sq->results, (GFunc) item_data_free, NULL);
g_slist_free (sq->results);
g_slist_free_full (sq->results, (GDestroyNotify) item_data_free);
g_slice_free (SearchQuery, sq);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment