summaryrefslogtreecommitdiffstats
path: root/src/dom/cssparser.h
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/cssparser.h
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/cssparser.h')
-rw-r--r--src/dom/cssparser.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/dom/cssparser.h b/src/dom/cssparser.h
index 816936dc3..f03b243da 100644
--- a/src/dom/cssparser.h
+++ b/src/dom/cssparser.h
@@ -12,7 +12,7 @@
* Authors:
* Bob Jamison
*
- * Copyright (C) 2005 Bob Jamison
+ * Copyright (C) 2005-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
@@ -29,7 +29,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <glib.h>
#include "dom.h"
@@ -72,7 +71,7 @@ public:
virtual bool parseFile(const DOMString &str);
-protected:
+private:
DOMString parsebuf;
long parselen;
@@ -82,7 +81,11 @@ protected:
/**
*
*/
- void error(char *fmt, ...) G_GNUC_PRINTF(2,3);
+ void error(char *fmt, ...)
+ #ifdef G_GNUC_PRINTF
+ G_GNUC_PRINTF(2, 3)
+ #endif
+ ;
/**
* Get the character at the given location in the buffer.