~ubuntu-branches/debian/experimental/inkscape/experimental

« back to all changes in this revision

Viewing changes to src/util/format.h

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Viehmann
  • Date: 2008-09-09 23:29:02 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080909232902-c50iujhk1w79u8e7
Tags: 0.46-2.1
* Non-maintainer upload.
* Add upstream patch fixing a crash in the open dialog
  in the zh_CN.utf8 locale. Closes: #487623.
  Thanks to Luca Bruno for the patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
#define SEEN_INKSCAPE_UTIL_FORMAT_H
14
14
 
15
15
#include <stdarg.h>
16
 
#include <glib/gstrfuncs.h>
 
16
#include <glib.h>
17
17
#include "util/share.h"
18
18
 
19
19
namespace Inkscape {
27
27
    return result;
28
28
}
29
29
 
 
30
       // needed since G_GNUC_PRINTF can only be used on a declaration
 
31
       ptr_shared<char> format(char const *format, ...) G_GNUC_PRINTF(1,2);
30
32
inline ptr_shared<char> format(char const *format, ...) {
31
33
    va_list args;
32
34