~ubuntu-branches/ubuntu/vivid/nip2/vivid-proposed

« back to all changes in this revision

Viewing changes to src/mainw.c

  • Committer: Package Import Robot
  • Author(s): Jay Berkenbilt
  • Date: 2012-03-18 17:12:03 UTC
  • mfrom: (1.6.3)
  • Revision ID: package-import@ubuntu.com-20120318171203-tyz1ohtgsktf3uk1
Tags: 7.28.1-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
341
341
        iwindow_kill( IWINDOW( mainw ) );
342
342
}
343
343
 
344
 
static void
 
344
void
345
345
mainw_find_disc( VipsBuf *buf )
346
346
{
347
347
        double sz = find_space( PATH_TMP );
352
352
                char txt[MAX_STRSIZE];
353
353
                VipsBuf buf2 = VIPS_BUF_STATIC( txt );
354
354
 
355
 
                to_size( &buf2, sz );
 
355
                vips_buf_append_size( &buf2, sz );
356
356
                vips_buf_appendf( buf, _( "%s free" ), vips_buf_all( &buf2 ) );
357
357
        }
358
358
}
359
359
 
360
 
static void
 
360
void
361
361
mainw_find_heap( VipsBuf *buf, Heap *heap )
362
362
{
363
363
        /* How much we can still expand the heap by ... this