~ubuntu-branches/ubuntu/quantal/thunar/quantal

« back to all changes in this revision

Viewing changes to thunar/thunar-metafile.c

  • Committer: Bazaar Package Importer
  • Author(s): Lionel Le Folgoc
  • Date: 2011-01-30 20:05:10 UTC
  • mfrom: (1.1.31 upstream)
  • Revision ID: james.westby@ubuntu.com-20110130200510-r0mwai90pd8in8zr
Tags: 1.2.1-0ubuntu1
New upstream bugfix release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* $Id$ */
2
2
/*-
3
3
 * Copyright (c) 2005-2006 Benedikt Meurer <benny@xfce.org>
4
 
 * Copyright (c) 2009 Jannis Pohlmann <jannis@xfce.org>
 
4
 * Copyright (c) 2009-2011 Jannis Pohlmann <jannis@xfce.org>
5
5
 *
6
6
 * This program is free software; you can redistribute it and/or modify it
7
7
 * under the terms of the GNU General Public License as published by the Free
278
278
 
279
279
  /* generate the key data */
280
280
  key_data.dptr = key_path;
281
 
  key_data.dsize = key_size - 1;
 
281
  key_data.dsize = key_size;
282
282
 
283
283
  /* release any earlier result data */
284
284
  if (G_LIKELY (metafile->data.dptr != NULL))
373
373
 
374
374
  /* generate the key data */
375
375
  key_data.dptr = key_path;
376
 
  key_data.dsize = key_size - 1;
 
376
  key_data.dsize = key_size;
377
377
 
378
378
  /* fetch the current value for the key */
379
379
  value_data = thunar_metafile_read (metafile, key_data);