[gimp/gtk3-port] SQUASH INTO PREVIOUS



commit 6b39f8ec00a878c002d920eb48afec7aba1c3b6e
Author: Michael Natterer <mitch gimp org>
Date:   Fri May 4 10:01:43 2018 +0200

    SQUASH INTO PREVIOUS

 libgimpwidgets/gimppreview.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgimpwidgets/gimppreview.c b/libgimpwidgets/gimppreview.c
index c9c41b1..a1aeb90 100644
--- a/libgimpwidgets/gimppreview.c
+++ b/libgimpwidgets/gimppreview.c
@@ -985,7 +985,7 @@ gimp_preview_set_default_cursor (GimpPreview *preview,
 GdkCursor *
 gimp_preview_get_default_cursor (GimpPreview *preview)
 {
-  g_return_if_fail (GIMP_IS_PREVIEW (preview));
+  g_return_val_if_fail (GIMP_IS_PREVIEW (preview), NULL);
 
   return GET_PRIVATE (preview)->default_cursor;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]