[gnome-photos/wip/rishi/application-base-item-be-strict: 1/2] application: Be strict about what is acceptable
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/application-base-item-be-strict: 1/2] application: Be strict about what is acceptable
- Date: Sat, 20 Mar 2021 13:37:05 +0000 (UTC)
commit 1cf59878a4a282ad22528fee6442d1fb4e8b4a24
Author: Debarshi Ray <debarshir gnome org>
Date: Sat Mar 20 14:31:53 2021 +0100
application: Be strict about what is acceptable
https://gitlab.gnome.org/GNOME/gnome-photos/-/merge_requests/186
src/photos-application.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/photos-application.c b/src/photos-application.c
index 4c68d9a9..ec5f0629 100644
--- a/src/photos-application.c
+++ b/src/photos-application.c
@@ -2156,6 +2156,9 @@ photos_application_start_miners_local (PhotosApplication *self)
g_autoptr (TrackerNotifier) notifier = NULL;
const gchar *control_name;
+ g_return_if_fail (self->miner_files_connection == NULL);
+ g_return_if_fail (self->miner_files_index == NULL);
+
g_return_if_fail (self->miner_files_name != NULL);
g_return_if_fail (g_str_equal (self->miner_files_name, MINER_FILES_NAME_SESSION));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]