Code

Partial C++-ification of SPGradient
[inkscape.git] / src / interface.cpp
index 47563238a50dde69c30937847ec8dd22cb252c67..b33443d1bd9e756cf1cb3a1869a39906c8eeca41 100644 (file)
@@ -1367,7 +1367,7 @@ sp_ui_drag_data_received(GtkWidget *widget,
                         for (const GSList *item = gradients; item; item = item->next) {
                             SPGradient* grad = SP_GRADIENT(item->data);
                             if ( color.descr == grad->getId() ) {
-                                if ( grad->has_stops ) {
+                                if ( grad->hasStops() ) {
                                     matches = grad;
                                     break;
                                 }