~ubuntu-branches/ubuntu/karmic/gimp/karmic

« back to all changes in this revision

Viewing changes to app/core/gimpcurve.c

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2008-11-24 14:16:39 UTC
  • mfrom: (1.1.17 upstream)
  • Revision ID: james.westby@ubuntu.com-20081124141639-12b1g29vvadd5pzp
Tags: 2.6.3-1ubuntu1
* Sync with Debian experimental (LP: #301724)
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch:
  - updated some strings for ubuntu
* debian/rules:
  - updated translation templates
* debian/control:
  - Drop webkit build dependency. gimp is the only thing pulling
    in webkit for the desktop CDs, and makes them explode
    Without the webkit help browser
    plugin, help will just be displayed in the default browser.

Show diffs side-by-side

added added

removed removed

Lines of Context:
809
809
  g_return_if_fail (point >= 0 && point < curve->n_points);
810
810
 
811
811
  if (curve->curve_type == GIMP_CURVE_FREE)
812
 
    return;
 
812
    {
 
813
      if (x) *x = -1.0;
 
814
      if (y) *y = -1.0;
 
815
 
 
816
      return;
 
817
    }
813
818
 
814
819
  if (x) *x = curve->points[point].x;
815
820
  if (y) *y = curve->points[point].y;