summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-10-12 18:28:21 -0400
committerCosimo Cecchi <cosimoc@gnome.org>2012-10-15 10:47:32 -0400
commit7666f837777b73903ce2f6000503a3ed8183106f (patch)
tree2644fb07b9a6abd0e16426fa254021a3831c72cc /test
parent18bf5a4e09137f65d10cfe5448f19e4f183e1ad7 (diff)
downloadnautilus-7666f837777b73903ce2f6000503a3ed8183106f.tar.gz
search: remove unused hits-subtracted signal
Since this is never emitted, keeping the code around just makes it more complicated.
Diffstat (limited to 'test')
-rw-r--r--test/test-nautilus-search-engine.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/test-nautilus-search-engine.c b/test/test-nautilus-search-engine.c
index 096076bd1..d0d4f976c 100644
--- a/test/test-nautilus-search-engine.c
+++ b/test/test-nautilus-search-engine.c
@@ -13,16 +13,6 @@ hits_added_cb (NautilusSearchEngine *engine, GSList *hits)
}
static void
-hits_subtracted_cb (NautilusSearchEngine *engine, GSList *hits)
-{
- g_print ("hits subtracted\n");
- while (hits) {
- g_print (" - %s\n", (char *)hits->data);
- hits = hits->next;
- }
-}
-
-static void
finished_cb (NautilusSearchEngine *engine)
{
g_print ("finished!\n");
@@ -40,8 +30,6 @@ main (int argc, char* argv[])
engine = nautilus_search_engine_new ();
g_signal_connect (engine, "hits-added",
G_CALLBACK (hits_added_cb), NULL);
- g_signal_connect (engine, "hits-subtracted",
- G_CALLBACK (hits_subtracted_cb), NULL);
g_signal_connect (engine, "finished",
G_CALLBACK (finished_cb), NULL);