summaryrefslogtreecommitdiffstats
path: root/src/dom/util/ziptool.cpp
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2007-03-29 17:10:50 +0000
committerishmal <ishmal@users.sourceforge.net>2007-03-29 17:10:50 +0000
commit9e530cad6770f9c2acda5353a00eeddd99a6b7bd (patch)
tree147bcc3f43e1e525b08a23fb1dc7678240c227d2 /src/dom/util/ziptool.cpp
parentfix bug [ 1685070 ] PathAlongPath - Error message when no paths selected (diff)
downloadinkscape-9e530cad6770f9c2acda5353a00eeddd99a6b7bd.tar.gz
inkscape-9e530cad6770f9c2acda5353a00eeddd99a6b7bd.zip
make glib dep configurable again
(bzr r2776)
Diffstat (limited to 'src/dom/util/ziptool.cpp')
-rw-r--r--src/dom/util/ziptool.cpp27
1 files changed, 22 insertions, 5 deletions
diff --git a/src/dom/util/ziptool.cpp b/src/dom/util/ziptool.cpp
index 7dbd07be5..fc4c7bad4 100644
--- a/src/dom/util/ziptool.cpp
+++ b/src/dom/util/ziptool.cpp
@@ -13,7 +13,7 @@
* Authors:
* Bob Jamison
*
- * Copyright (C) 2006 Bob Jamison
+ * Copyright (C) 2006-2007 Bob Jamison
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -231,12 +231,20 @@ private:
/**
*
*/
- void error(char *fmt, ...);
+ void error(char *fmt, ...)
+ #ifdef G_GNUC_PRINTF
+ G_GNUC_PRINTF(2, 3)
+ #endif
+ ;
/**
*
*/
- void trace(char *fmt, ...);
+ void trace(char *fmt, ...)
+ #ifdef G_GNUC_PRINTF
+ G_GNUC_PRINTF(2, 3)
+ #endif
+ ;
/**
*
@@ -836,8 +844,17 @@ public:
private:
//debug messages
- void error(char *fmt, ...);
- void trace(char *fmt, ...);
+ void error(char *fmt, ...)
+ #ifdef G_GNUC_PRINTF
+ G_GNUC_PRINTF(2, 3)
+ #endif
+ ;
+
+ void trace(char *fmt, ...)
+ #ifdef G_GNUC_PRINTF
+ G_GNUC_PRINTF(2, 3)
+ #endif
+ ;
bool compressWindow();