summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-search-engine-tracker.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 17:34:17 +0200
committerraveit65 <[email protected]>2021-11-20 16:50:14 +0100
commit0a4384ca8c93b62bdf393cd1f3698bab1999fc6f (patch)
tree9c68212e8ba254df3dc80cd091b8fd3198a9b643 /libcaja-private/caja-search-engine-tracker.c
parentbdc5cf66eff8c52cf422cf7b0143ff3489bbb7b0 (diff)
downloadcaja-0a4384ca8c93b62bdf393cd1f3698bab1999fc6f.tar.bz2
caja-0a4384ca8c93b62bdf393cd1f3698bab1999fc6f.tar.xz
Use a blank line at most
Diffstat (limited to 'libcaja-private/caja-search-engine-tracker.c')
-rw-r--r--libcaja-private/caja-search-engine-tracker.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/libcaja-private/caja-search-engine-tracker.c b/libcaja-private/caja-search-engine-tracker.c
index 102ca060..21784230 100644
--- a/libcaja-private/caja-search-engine-tracker.c
+++ b/libcaja-private/caja-search-engine-tracker.c
@@ -38,7 +38,6 @@ typedef enum
TRACKER_0_8 = 1 << 2
} TrackerVersion;
-
/* tracker 0.6 API */
typedef void (*TrackerArrayReply) (char **result, GError *error, gpointer user_data);
@@ -48,7 +47,6 @@ static void (*tracker_disconnect) (TrackerClient *client) = NULL;
static void (*tracker_cancel_last_call) (TrackerClient *client) = NULL;
static int (*tracker_get_version) (TrackerClient *client, GError **error) = NULL;
-
static void (*tracker_search_metadata_by_text_async) (TrackerClient *client,
const char *query,
TrackerArrayReply callback,
@@ -70,7 +68,6 @@ static void (*tracker_search_metadata_by_text_and_mime_and_location_async) (Trac
TrackerArrayReply callback,
gpointer user_data) = NULL;
-
/* tracker 0.8 API */
typedef enum
{
@@ -89,7 +86,6 @@ static guint (*tracker_resources_sparql_query_async) (TrackerClient *c
TrackerReplyGPtrArray callback,
gpointer user_data) = NULL;
-
static struct TrackerDlMapping
{
const char *fn_name;
@@ -110,7 +106,6 @@ static struct TrackerDlMapping
#undef MAP
};
-
static TrackerVersion
open_libtracker (void)
{
@@ -178,7 +173,6 @@ open_libtracker (void)
return version;
}
-
struct CajaSearchEngineTrackerDetails
{
CajaQuery *query;
@@ -220,7 +214,6 @@ finalize (GObject *object)
EEL_CALL_PARENT (G_OBJECT_CLASS, finalize, (object));
}
-
/* stolen from tracker sources, tracker.c */
static void
sparql_append_string_literal (GString *sparql,
@@ -237,7 +230,6 @@ sparql_append_string_literal (GString *sparql,
g_free (s);
}
-
static void
search_callback (gpointer results, GError *error, gpointer user_data)
{
@@ -308,7 +300,6 @@ search_callback (gpointer results, GError *error, gpointer user_data)
g_list_free_full (hit_uris, g_free);
}
-
static void
caja_search_engine_tracker_start (CajaSearchEngine *engine)
{
@@ -321,7 +312,6 @@ caja_search_engine_tracker_start (CajaSearchEngine *engine)
tracker = CAJA_SEARCH_ENGINE_TRACKER (engine);
-
if (tracker->details->query_pending)
{
return;
@@ -526,7 +516,6 @@ caja_search_engine_tracker_init (CajaSearchEngineTracker *engine)
engine->details = g_new0 (CajaSearchEngineTrackerDetails, 1);
}
-
CajaSearchEngine *
caja_search_engine_tracker_new (void)
{