summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2016-11-04 11:21:07 +0000
committerRichard Hughes <richard@hughsie.com>2016-11-04 11:21:07 +0000
commitb6d6c23bc867f3c42e87c8eb4aa45bb79a9f5c4b (patch)
tree7ce0be04de079b0e134ba324c2dc1fefe5d4ebc1
parentefd9b9da96653d48d5a6fe82d7f0fe84b15cfb28 (diff)
downloadappstream-glib-b6d6c23bc867f3c42e87c8eb4aa45bb79a9f5c4b.tar.gz
trivial: Restore behaviour compatibility to fix self tests
-rw-r--r--libappstream-glib/as-store.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libappstream-glib/as-store.c b/libappstream-glib/as-store.c
index d37d4b3..1e6f2e9 100644
--- a/libappstream-glib/as-store.c
+++ b/libappstream-glib/as-store.c
@@ -3375,6 +3375,7 @@ as_store_init (AsStore *store)
priv->api_version = AS_API_VERSION_NEWEST;
priv->array = g_ptr_array_new_with_free_func ((GDestroyNotify) g_object_unref);
priv->watch_flags = AS_STORE_WATCH_FLAG_NONE;
+ priv->search_match = AS_APP_SEARCH_MATCH_LAST;
priv->search_blacklist = g_hash_table_new_full (g_str_hash,
g_str_equal,
g_free,