[gnome-photos/wip/rishi/tracker3: 5/7] query-builder, sparql-template: Style fixes
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/tracker3: 5/7] query-builder, sparql-template: Style fixes
- Date: Thu, 11 Mar 2021 19:48:25 +0000 (UTC)
commit 6683a5b9be286540ab7d736209fcae3936e5639d
Author: Debarshi Ray <debarshir gnome org>
Date: Tue Mar 9 20:02:12 2021 +0100
query-builder, sparql-template: Style fixes
https://gitlab.gnome.org/GNOME/gnome-photos/-/issues/152
src/photos-query-builder.c | 3 ++-
src/photos-sparql-template.h | 4 +++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/photos-query-builder.c b/src/photos-query-builder.c
index ff30ee1d..280408f3 100644
--- a/src/photos-query-builder.c
+++ b/src/photos-query-builder.c
@@ -35,7 +35,8 @@
#include "photos-search-type-manager.h"
-static const gchar *BLOCKED_MIME_TYPES_FILTER = "(nie:mimeType(?urn) != 'image/gif' && nie:mimeType(?urn) !=
'image/x-eps')";
+static const gchar *BLOCKED_MIME_TYPES_FILTER = "(nie:mimeType(?urn) != 'image/gif' "
+ "&& nie:mimeType(?urn) != 'image/x-eps')";
static const gchar *COLLECTIONS_FILTER
= "(fn:starts-with (nao:identifier (?urn), '" PHOTOS_QUERY_COLLECTIONS_IDENTIFIER "')"
diff --git a/src/photos-sparql-template.h b/src/photos-sparql-template.h
index 8ad46983..f75bd2c8 100644
--- a/src/photos-sparql-template.h
+++ b/src/photos-sparql-template.h
@@ -27,6 +27,8 @@ G_DECLARE_FINAL_TYPE (PhotosSparqlTemplate, photos_sparql_template, PHOTOS, SPAR
PhotosSparqlTemplate *photos_sparql_template_new (const gchar *template_path);
-gchar *photos_sparql_template_get_sparql (PhotosSparqlTemplate *self, const gchar *first_binding_name, ...)
G_GNUC_NULL_TERMINATED;
+gchar *photos_sparql_template_get_sparql (PhotosSparqlTemplate *self,
+ const gchar *first_binding_name,
+ ...) G_GNUC_NULL_TERMINATED;
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]