yelp-document: Fix return type of document_indexed
commit28a8208c9106c9d3d7fdde810620dbb085b2ce70
authorMichael Catanzaro <mcatanzaro@igalia.com>
Sat, 6 Feb 2016 20:42:16 +0000 (6 14:42 -0600)
committerMichael Catanzaro <mcatanzaro@igalia.com>
Sat, 6 Feb 2016 20:44:46 +0000 (6 14:44 -0600)
tree44eebbf6fd68c009fa8a42e8b86b0dedbed57258
parent3af9ee7faa02294ea8717e290f21fc86f3eb22d5
yelp-document: Fix return type of document_indexed

It's a GSourceFunc, so it'd better return a gboolean. This doesn't seem
to be causing any problems in Fedora, but in Endless it's causing 100%
CPU usage after executing a search, because the source never gets
removed.

https://bugzilla.gnome.org/show_bug.cgi?id=761647
libyelp/yelp-document.c