[gnome-photos] delete-notification: Be more strict about what is acceptable
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] delete-notification: Be more strict about what is acceptable
- Date: Fri, 30 Oct 2015 13:32:08 +0000 (UTC)
commit 977f53183d6a438329859ac050bd9ab0c653b906
Author: Debarshi Ray <debarshir gnome org>
Date: Fri Oct 30 14:02:24 2015 +0100
delete-notification: Be more strict about what is acceptable
src/photos-delete-notification.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-delete-notification.c b/src/photos-delete-notification.c
index eedd7df..4c0df29 100644
--- a/src/photos-delete-notification.c
+++ b/src/photos-delete-notification.c
@@ -258,6 +258,8 @@ photos_delete_notification_class_init (PhotosDeleteNotificationClass *class)
void
photos_delete_notification_new (GList *items)
{
+ g_return_if_fail (items != NULL);
+
g_object_new (PHOTOS_TYPE_DELETE_NOTIFICATION,
"column-spacing", 12,
"items", items,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]