Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:GA
gnome-photos
gnome-photos-Check-RDF-type-before-using-it.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-photos-Check-RDF-type-before-using-it.patch of Package gnome-photos
From 6d8bbd5b02885f2c0def8e0e4b1daefd76164ebe Mon Sep 17 00:00:00 2001 From: Debarshi Ray <debarshir@gnome.org> Date: Wed, 24 Jan 2018 20:29:18 +0100 Subject: [PATCH] utils: Check the RDF type before using it, not the MIME type --- src/photos-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/photos-utils.c b/src/photos-utils.c index a9d8f13..12ff40f 100644 --- a/src/photos-utils.c +++ b/src/photos-utils.c @@ -470,7 +470,7 @@ photos_utils_get_icon_from_cursor (TrackerSparqlCursor *cursor) goto out; rdf_type = tracker_sparql_cursor_get_string (cursor, PHOTOS_QUERY_COLUMNS_RDF_TYPE, NULL); - if (mime_type != NULL) + if (rdf_type != NULL) icon = photos_utils_icon_from_rdf_type (rdf_type); if (icon != NULL) -- libgit2 0.26.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor