~ubuntu-branches/debian/squeeze/f-spot/squeeze

« back to all changes in this revision

Viewing changes to src/Imaging/ImageFile.cs

  • Committer: Bazaar Package Importer
  • Author(s): Iain Lane, Mirco Bauer, Iain Lane
  • Date: 2009-02-07 20:23:32 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: james.westby@ubuntu.com-20090207202332-oc93rfjo1st0571s
Tags: 0.5.0.3-2
[ Mirco Bauer]
* Upload to unstable.
* debian/control:
  + Lowered GNOME# build-deps to 2.0 ABI as that transition didn't happen
    yet in unstable.

[ Iain Lane ]
* debian/patches/svn-r4545_locales-import.dpatch: Patch backported from SVN
  trunk revision 4545 - initialize the translation catalog earlier (LP: #293305)
  (Closes: #514457). Thanks to Florian Heinle for finding the patch and to
  Chris Coulson for preparing the update.
* debian/control: Build-depend on libmono-dev (>= 1.2.4) to match configure
  checks.
* debian/rules: Pass CSC=/usr/bin/csc to configure for gio-sharp to fix FTBFS

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
                
85
85
                public virtual void Save (Gdk.Pixbuf pixbuf, System.IO.Stream stream)
86
86
                {
87
 
                        throw new NotImplementedException (Catalog.GetString ("Writing to this file format is not implemented"));
 
87
                        throw new NotImplementedException (Catalog.GetString ("Writing to this file format is not supported"));
88
88
                }
89
89
 
90
90
                protected Gdk.Pixbuf TransformAndDispose (Gdk.Pixbuf orig)
113
113
                        System.IO.Stream stream = PixbufStream ();
114
114
                        if (stream == null) {
115
115
                                Gdk.Pixbuf orig = this.Load ();
116
 
                                Gdk.Pixbuf scaled = PixbufUtils.ScaleToMaxSize (orig,  max_width, max_height);  
 
116
                                Gdk.Pixbuf scaled = PixbufUtils.ScaleToMaxSize (orig,  max_width, max_height, false);
117
117
                                orig.Dispose ();
118
118
                                return scaled;
119
119
                        }