Skip to content

Commit

Permalink
interpolation CLI args were broken
Browse files Browse the repository at this point in the history
thanks to speckins, broken since 7.26.4, embarassingly

I've added another test to make check to stop this happening again
  • Loading branch information
jcupitt committed Jan 14, 2012
1 parent b57930b commit b210d34
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
14/1/12 started 7.26.8
- interpolate CLI args were broken (thanks speckins)

5/12/11 started 7.26.7
- lazy read from tiled tiff from layers other than 0 was broken
- optional args to vips_call*() do not work, disabled (fixed correctly in
Expand Down
4 changes: 2 additions & 2 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ AC_CONFIG_MACRO_DIR(m4)
# user-visible library versioning
m4_define([vips_major_version], [7])
m4_define([vips_minor_version], [26])
m4_define([vips_micro_version], [7])
m4_define([vips_micro_version], [8])
m4_define([vips_version],
[vips_major_version.vips_minor_version.vips_micro_version])

Expand All @@ -29,7 +29,7 @@ PACKAGE=vips
# interface changes not backwards compatible?: reset age to 0

LIBRARY_CURRENT=30
LIBRARY_REVISION=6
LIBRARY_REVISION=7
LIBRARY_AGE=15

AM_INIT_AUTOMAKE($PACKAGE,$VERSION)
Expand Down
8 changes: 5 additions & 3 deletions libvips/deprecated/dispatch_types.c
Original file line number Diff line number Diff line change
Expand Up @@ -886,11 +886,13 @@ im_type_desc im__output_gvalue = {
static int
input_interpolate_init( im_object *obj, char *str )
{
VipsObjectClass *interpolate_class;
GType type = g_type_from_name( "VipsInterpolate" );
VipsObjectClass *class = VIPS_OBJECT_CLASS( g_type_class_ref( type ) );
VipsObject *object;

interpolate_class = vips_class_find( "VipsInterpolate", "interpolate" );
if( !(object = vips_object_new_from_string( interpolate_class, str )) )
g_assert( class );

if( !(object = vips_object_new_from_string( class, str )) )
return( -1 );
*obj = object;

Expand Down
2 changes: 1 addition & 1 deletion po/vips7.pot
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?"
"product=glib&keywords=I18N+L10N&component=general\n"
"POT-Creation-Date: 2011-12-08 21:50+0000\n"
"POT-Creation-Date: 2012-01-14 11:13+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down

0 comments on commit b210d34

Please sign in to comment.