[gnome-photos/wip/rishi/tracker3: 3/5] query-builder, sparql-template: Style fixes




commit 77cbe81005d7cadd2a62fd9cb35e430650c934af
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Mar 9 20:02:12 2021 +0100

    query-builder, sparql-template: Style fixes

 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]