~ubuntu-branches/ubuntu/raring/inkscape/raring

« back to all changes in this revision

Viewing changes to src/sp-gradient.cpp

  • Committer: Package Import Robot
  • Author(s): Alexander Valavanis
  • Date: 2012-12-19 13:45:59 UTC
  • mfrom: (1.6.4)
  • Revision ID: package-import@ubuntu.com-20121219134559-a9zechbo0ub4mnav
Tags: 0.48.4-0ubuntu1
* New upstream release (LP: #1091308).  Fixes several Ubuntu bugs:
  - Inkscape crashed with SIGSEGV in getObject() (LP: #941317)
  - Inkscape crashed with SIGSEGV in 
    Inkscape::Extension::Implementation::Script::effect() (LP: #944077)
  - Inkscape crashed with SIGSEGV in 
    Inkscape::Extension::Output::get_extension() (LP: #973174)
  - Overlay scrollbars causing input boxes to be small (LP: #946631)
* Drop 03_track_libpoppler25_abi_changes.patch: applied upstream
* Drop 04_track_libpoppler25_abi_changes_colorspace.patch: applied upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
1035
1035
 
1036
1036
    vector.stops.clear();
1037
1037
 
1038
 
    SPGradient *reffed = ref->getObject();
 
1038
    SPGradient *reffed = ref ? ref->getObject() : NULL;
1039
1039
    if ( !hasStops() && reffed ) {
1040
1040
        /* Copy vector from referenced gradient */
1041
1041
        vector.built = true;   // Prevent infinite recursion.