summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-query.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-query.c
parentbdc5cf66eff8c52cf422cf7b0143ff3489bbb7b0 (diff)
downloadcaja-0a4384ca8c93b62bdf393cd1f3698bab1999fc6f.tar.bz2
caja-0a4384ca8c93b62bdf393cd1f3698bab1999fc6f.tar.xz
Use a blank line at most
Diffstat (limited to 'libcaja-private/caja-query.c')
-rw-r--r--libcaja-private/caja-query.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libcaja-private/caja-query.c b/libcaja-private/caja-query.c
index 70782c8e..d0902652 100644
--- a/libcaja-private/caja-query.c
+++ b/libcaja-private/caja-query.c
@@ -86,7 +86,6 @@ caja_query_new (void)
return g_object_new (CAJA_TYPE_QUERY, NULL);
}
-
char *
caja_query_get_text (CajaQuery *query)
{
@@ -216,7 +215,6 @@ decode_home_uri (const char *uri)
return decoded_uri;
}
-
typedef struct
{
CajaQuery *query;
@@ -331,7 +329,6 @@ static GMarkupParser parser =
error_cb
};
-
static CajaQuery *
caja_query_parse_xml (char *xml, gsize xml_len)
{
@@ -353,7 +350,6 @@ caja_query_parse_xml (char *xml, gsize xml_len)
return info.query;
}
-
CajaQuery *
caja_query_load (char *file)
{
@@ -366,7 +362,6 @@ caja_query_load (char *file)
return NULL;
}
-
g_file_get_contents (file, &xml, &xml_len, NULL);
query = caja_query_parse_xml (xml, xml_len);
g_free (xml);
@@ -450,7 +445,6 @@ caja_query_save (CajaQuery *query, char *file)
GError *err = NULL;
gboolean res;
-
res = TRUE;
xml = caja_query_to_xml (query);
g_file_set_contents (file, xml, strlen (xml), &err);