summaryrefslogtreecommitdiff
path: root/test/test-caja-search-engine.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-06-16 13:37:09 +0200
committerraveit65 <[email protected]>2019-06-18 14:46:34 +0200
commite0e185b1790f5a670cdd1292bac75ad1c44e4996 (patch)
treeb5d170259858c497dbfb813c0ddb55a197a2c5ca /test/test-caja-search-engine.c
parentef29013fdfd0df5d4a3cc6c5a8fb1583aabef952 (diff)
downloadcaja-e0e185b1790f5a670cdd1292bac75ad1c44e4996.tar.bz2
caja-e0e185b1790f5a670cdd1292bac75ad1c44e4996.tar.xz
Remove trailing whitespaces
find . -regextype posix-extended -regex '.*\.(c|h|ac|txt|xml)' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
Diffstat (limited to 'test/test-caja-search-engine.c')
-rw-r--r--test/test-caja-search-engine.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/test-caja-search-engine.c b/test/test-caja-search-engine.c
index 03201dc5..e5ebf62e 100644
--- a/test/test-caja-search-engine.c
+++ b/test/test-caja-search-engine.c
@@ -4,7 +4,7 @@
static void
hits_added_cb (CajaSearchEngine *engine, GSList *hits)
-{
+{
g_print ("hits added\n");
while (hits) {
g_print (" - %s\n", (char *)hits->data);
@@ -29,7 +29,7 @@ finished_cb (CajaSearchEngine *engine)
// gtk_main_quit ();
}
-int
+int
main (int argc, char* argv[])
{
CajaSearchEngine *engine;
@@ -38,11 +38,11 @@ main (int argc, char* argv[])
gtk_init (&argc, &argv);
engine = caja_search_engine_new ();
- g_signal_connect (engine, "hits-added",
+ g_signal_connect (engine, "hits-added",
G_CALLBACK (hits_added_cb), NULL);
- g_signal_connect (engine, "hits-subtracted",
+ g_signal_connect (engine, "hits-subtracted",
G_CALLBACK (hits_subtracted_cb), NULL);
- g_signal_connect (engine, "finished",
+ g_signal_connect (engine, "finished",
G_CALLBACK (finished_cb), NULL);
query = caja_query_new ();
@@ -51,7 +51,7 @@ main (int argc, char* argv[])
g_object_unref (query);
caja_search_engine_start (engine);
-
+
gtk_main ();
return 0;
}