[gnome-photos/wip/rishi/misc-fixes: 14/15] pipeline: Be more strict about what is acceptable
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/misc-fixes: 14/15] pipeline: Be more strict about what is acceptable
- Date: Fri, 18 Dec 2015 19:24:01 +0000 (UTC)
commit 1ed6d7f611449b19bd9928f4de845a584d75eda5
Author: Debarshi Ray <debarshir gnome org>
Date: Fri Dec 18 20:16:26 2015 +0100
pipeline: Be more strict about what is acceptable
src/photos-pipeline.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-pipeline.c b/src/photos-pipeline.c
index 2f2f667..19f8a39 100644
--- a/src/photos-pipeline.c
+++ b/src/photos-pipeline.c
@@ -406,6 +406,8 @@ photos_pipeline_save_async (PhotosPipeline *self,
gchar *xml;
gsize len;
+ g_return_if_fail (self->uri != NULL);
+
task = g_task_new (self, cancellable, callback, user_data);
g_task_set_source_tag (task, photos_pipeline_save_async);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]