diff --git a/src/util/format.h b/src/util/format.h
index 1b8e9e2e2e32e9492b9b434a5b9557682c248e3b..6901212542073636148b654a01419bc91695cfb4 100644 (file)
--- a/src/util/format.h
+++ b/src/util/format.h
* Authors:
* MenTaLguY <mental@rydia.net>
*
- * Copyright (C) 2004 MenTaLguY
+ * Copyright (C) 2006 MenTaLguY
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#define SEEN_INKSCAPE_UTIL_FORMAT_H
#include <stdarg.h>
-#include <glib/gstrfuncs.h>
+#include <glib.h>
#include "util/share.h"
namespace Inkscape {
return result;
}
+ // needed since G_GNUC_PRINTF can only be used on a declaration
+ ptr_shared<char> format(char const *format, ...) G_GNUC_PRINTF(1,2);
inline ptr_shared<char> format(char const *format, ...) {
va_list args;
fill-column:99
End:
*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :