Code

fix 1243587 and misc fixes
[inkscape.git] / src / dom / cssparser.h
index 816936dc38914d8d3336a6d6a8b46fb44508f250..f03b243da5230c8dc9ae428dcc5308757ed78dc2 100644 (file)
@@ -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.