summaryrefslogtreecommitdiffstats
path: root/src/widgets/gradient-vector.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2010-03-06 06:31:33 +0000
committerJon A. Cruz <jon@joncruz.org>2010-03-06 06:31:33 +0000
commit998e601fb0de79b7617fa9402eb36537041663c6 (patch)
tree7cfdef36123bbd82fe1ba8e2a37638eb87b4dc8b /src/widgets/gradient-vector.cpp
parentNow webslicer-create-group respects the grouping hierarchy (diff)
downloadinkscape-998e601fb0de79b7617fa9402eb36537041663c6.tar.gz
inkscape-998e601fb0de79b7617fa9402eb36537041663c6.zip
New tab in Fill&Stroke dialog for swatch fills.
(bzr r9153)
Diffstat (limited to '')
-rw-r--r--src/widgets/gradient-vector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/gradient-vector.cpp b/src/widgets/gradient-vector.cpp
index 0a53cfb3e..8ffacb9f5 100644
--- a/src/widgets/gradient-vector.cpp
+++ b/src/widgets/gradient-vector.cpp
@@ -1170,7 +1170,7 @@ sp_gradient_vector_color_changed (SPColorSelector *csel, GtkObject *object)
/* Set start parameters */
/* We rely on normalized vector, i.e. stops HAVE to exist */
- g_return_if_fail (sp_first_stop(ngr) != NULL);
+ g_return_if_fail(ngr->getFirstStop() != NULL);
GtkOptionMenu *mnu = (GtkOptionMenu *)g_object_get_data (G_OBJECT(object), "stopmenu");
SPStop *stop = SP_STOP(g_object_get_data (G_OBJECT(gtk_menu_get_active (GTK_MENU(gtk_option_menu_get_menu (mnu)))), "stop"));