tiny help polishing

This commit is contained in:
John Cupitt 2016-03-25 16:35:28 +00:00
parent ddd7ab7459
commit 95a74cbf28
3 changed files with 4 additions and 7 deletions

2
TODO
View File

@ -1,5 +1,3 @@
- try make dist, check po
- try SEQ_UNBUFFERED on jpg source, get out of order error?
- could load pdf thumbnails?

View File

@ -331,21 +331,20 @@ vips_foreign_summary_class( VipsObjectClass *object_class, VipsBuf *buf )
VIPS_OBJECT_CLASS( vips_foreign_parent_class )->
summary_class( object_class, buf );
vips_buf_appends( buf, " " );
if( class->suffs ) {
const char **p;
vips_buf_appends( buf, "(" );
vips_buf_appends( buf, " (" );
for( p = class->suffs; *p; p++ ) {
vips_buf_appendf( buf, "%s", *p );
if( p[1] )
vips_buf_appends( buf, ", " );
}
vips_buf_appends( buf, "), " );
vips_buf_appends( buf, ")" );
}
vips_buf_appendf( buf, "priority=%d", class->priority );
vips_buf_appendf( buf, ", priority=%d", class->priority );
}

View File

@ -327,6 +327,7 @@ vips_foreign_load_pdf_class_init( VipsForeignLoadPdfClass *class )
gobject_class->get_property = vips_object_get_property;
object_class->nickname = "pdfload";
object_class->description = _( "load PDF with libpoppler" );
object_class->build = vips_foreign_load_pdf_build;
load_class->get_flags_filename =
@ -439,7 +440,6 @@ vips_foreign_load_pdf_file_class_init(
gobject_class->get_property = vips_object_get_property;
object_class->nickname = "pdfload";
object_class->description = _( "load PDF with libpoppler" );
foreign_class->suffs = vips_foreign_pdf_suffs;