summaryrefslogtreecommitdiffstats
path: root/src/widgets/gradient-vector.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-10-15 23:20:12 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-10-15 23:20:12 +0000
commit36fc3ed3c81a7828ae961a793adaf630d571f9b7 (patch)
treecf0c89fdc713f96eba2f760b909c0c648eb075b4 /src/widgets/gradient-vector.cpp
parentupdate to trunk (diff)
parentBug fixes in roughen and added uption to retract handles (diff)
downloadinkscape-36fc3ed3c81a7828ae961a793adaf630d571f9b7.tar.gz
inkscape-36fc3ed3c81a7828ae961a793adaf630d571f9b7.zip
update to trunk
(bzr r14393.1.21)
Diffstat (limited to '')
-rw-r--r--src/widgets/gradient-vector.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widgets/gradient-vector.cpp b/src/widgets/gradient-vector.cpp
index 259d4c9af..8e92f589a 100644
--- a/src/widgets/gradient-vector.cpp
+++ b/src/widgets/gradient-vector.cpp
@@ -842,7 +842,8 @@ static GtkWidget * sp_gradient_vector_widget_new(SPGradient *gradient, SPStop *s
GtkWidget *vb, *w, *f;
- g_return_val_if_fail(!gradient || SP_IS_GRADIENT(gradient), NULL);
+ g_return_val_if_fail(gradient != NULL, NULL);
+ g_return_val_if_fail(SP_IS_GRADIENT(gradient), NULL);
#if GTK_CHECK_VERSION(3,0,0)
vb = gtk_box_new(GTK_ORIENTATION_VERTICAL, PAD);