This is an automated email from the git hooks/post-receive script.

andre pushed a 
commit to branch 
master
in repository apps/xfce4-screenshooter.

commit 5ee3454d5cbd482f1f10457336c9071060e45280
Author: Andre Miranda <andre...@xfce.org>
Date:   Sun Dec 16 01:11:00 2018 -0300

    Fix assert
---
 lib/screenshooter-imgur-dialog.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/screenshooter-imgur-dialog.c b/lib/screenshooter-imgur-dialog.c
index c3bfc6b..a222d3b 100644
--- a/lib/screenshooter-imgur-dialog.c
+++ b/lib/screenshooter-imgur-dialog.c
@@ -104,6 +104,8 @@ ScreenshooterImgurDialog *
 screenshooter_imgur_dialog_new (const gchar *upload_name,
                                 const gchar *delete_hash)
 {
+  g_return_val_if_fail (upload_name != NULL, NULL);
+
   ScreenshooterImgurDialog *self = g_object_new 
(SCREENSHOOTER_TYPE_IMGUR_DIALOG, NULL);
 
   self->image_url = g_strdup_printf ("https://imgur.com/%s.png";, upload_name);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to