Code

fix 1243587 and misc fixes
[inkscape.git] / src / dom / lsimpl.h
index d73998e133bcea41d081862c68670085a6a6d131..0dd0dc62cb38b658c5d6a443a7112fefd23fc445 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,8 +29,6 @@
  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#include <glib.h>
-
 #include "domimpl.h"
 #include "events.h"
 #include "traversal.h"
@@ -238,7 +236,11 @@ private:
 
     void spaces();
 
-    void po(char *fmt, ...) G_GNUC_PRINTF(2,3);
+    void po(char *fmt, ...)
+    #ifdef G_GNUC_PRINTF
+    G_GNUC_PRINTF(2, 3)
+    #endif
+    ;
 
     void pos(const DOMString &str);