Code

Fix missing include for g_assert() calls - causes FTBFS on Ubuntu Hardy
authorbryce <bryce@users.sourceforge.net>
Sat, 5 Jan 2008 02:50:35 +0000 (02:50 +0000)
committerbryce <bryce@users.sourceforge.net>
Sat, 5 Jan 2008 02:50:35 +0000 (02:50 +0000)
currently.

15 files changed:
share/tutorials/tutorial-basic.svg
src/attributes.cpp
src/axis-manip.h
src/color-rgba.h
src/debug/simple-event.h
src/display/bezier-utils.cpp
src/helper/units.cpp
src/io/resource.cpp
src/libnr/nr-matrix.h
src/svg/svg-color.cpp
src/svg/svg-path.cpp
src/xml/event.cpp
src/xml/node-fns.cpp
src/xml/simple-document.cpp
src/xml/simple-node.h

index b994bb432ce1bcd69025b7135670c0911a1353a5..2b31b4acab93f656b189ba65ec0a37dd67163d00 100644 (file)
@@ -559,4 +559,4 @@ graphics. For more complicated stuff, go through the Advanced and other tutorial
     <use style="opacity:0.084269650;color:#000000;fill:#ffffff;fill-opacity:0.064615376;fill-rule:nonzero;stroke:none;stroke-width:1.0000000pt;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible;font-family:Bitstream Vera Sans" height="1052.3622" width="744.09448" transform="matrix(5.176729,0.000000,0.000000,5.176729,-102.7023,-256.6246)" id="use1328" xlink:href="#path1508" y="0.0000000" x="0.0000000"/>
     <text xml:space="preserve" style="font-size:6.96932268px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;opacity:0.5;fill:black;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" x="-70.83046" y="-6.5672836" id="text7519" sodipodi:linespacing="125%" transform="matrix(0,-1,1,0,0,0)"><tspan sodipodi:role="line" id="tspan7521" x="-70.83046" y="-6.5672836" style="letter-spacing:0.29056421">Use <tspan style="font-weight:bold" id="tspan7523">Ctrl+up arrow</tspan> to scroll </tspan></text>
     <path sodipodi:type="star" style="opacity:0.5;color:black;fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:4.32172871;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" id="path7527" sodipodi:sides="3" sodipodi:cx="332.34018" sodipodi:cy="193.40422" sodipodi:r1="7.6034532" sodipodi:r2="3.8017266" sodipodi:arg1="0.62024949" sodipodi:arg2="1.667447" inkscape:flatsided="true" inkscape:rounded="0" inkscape:randomized="0" d="M 338.52736,197.82364 L 325.41926,196.55277 L 333.07392,185.83625 L 338.52736,197.82364 z " transform="matrix(-0.614962,-4.549602e-2,-6.191898e-2,0.451855,207.7892,-117.1536)"/>
-  </g></g></svg>
\ No newline at end of file
+  </g></g></svg>
index 8232065fc665bdb346dfb5b89e9521f154c46545..be5dedc249f52c57e63b58b325b8bf878f00b23e 100644 (file)
@@ -17,6 +17,7 @@
 # include "config.h"
 #endif
 
+#include <glib/gtestutils.h>
 #include <glib/ghash.h>
 #include "attributes.h"
 
index e5cc963ba2614d95f406dad307a24c34c9dfb706..0021630a099448d9c99c8e71a2d7559131854815 100644 (file)
@@ -12,6 +12,7 @@
 #ifndef SEEN_AXIS_MANIP_H
 #define SEEN_AXIS_MANIP_H
 
+#include <glib/gtestutils.h>
 #include <gtk/gtk.h>
 #include "libnr/nr-point.h"
 
index 59a15f3c0a0ecb180ac3cabbe1286f6b2472b3e4..b968f3de184d7cb6047aa4795db6ccc9a89d0593 100644 (file)
@@ -1,7 +1,7 @@
 /** \file color-rgba.h
 
     A class to handle a RGBA color as one unit.
-    
+
     Authors:
       bulia byak <buliabyak@gmail.com>
 
@@ -12,6 +12,7 @@
 #ifndef SEEN_COLOR_RGBA_H
 #define SEEN_COLOR_RGBA_H
 
+#include <glib/gtestutils.h>
 #include <glib/gmessages.h>
 #include "libnr/nr-pixops.h"
 #include "decimal-round.h"
index 24f1c754562cb091fc57cfd84aeeedb385ff43d2..3126f10f1ebd3a05b1de001073a382d0dc683b0d 100644 (file)
 
 #include <stdarg.h>
 #include <vector>
-#include "glib/gstrfuncs.h"
-#include "glib/gmessages.h"
+#include <glib/gtestutils.h>
+#include <glib/gstrfuncs.h>
+#include <glib/gmessages.h>
+
 #include "gc-alloc.h"
 #include "debug/event.h"
 
index 7dadc0a7bc6a45a32ceca6a36cc8d22eefd9358a..95b1a5eb1bbb8b34cae049079b7b082cb05d06df 100644 (file)
@@ -33,6 +33,7 @@
 # include <ieeefp.h>
 #endif
 
+#include <glib/gtestutils.h>
 #include <glib/gmessages.h>
 #include <glib/gmem.h>
 #include "bezier-utils.h"
index 448f60302ddc1b5a0f3e561c7856ef95df47288f..45d6d27f9432bbf8820d0fd6cc0de157993d4433 100644 (file)
@@ -20,6 +20,7 @@
 #endif
 
 #include "helper/units.h"
+#include <glib/gtestutils.h>
 #include <glibmm/i18n.h>
 #include "unit-constants.h"
 #include "svg/svg-length.h"
index b4dca32334a83288a54b6bec67d7baf07999961f..267a82d0184c2b796ab5ef439f731ed518964beb 100644 (file)
@@ -16,6 +16,7 @@
 #include "config.h"
 #endif
 
+#include <glib/gtestutils.h>
 #include <glib/gmessages.h>
 #include <glib/gstrfuncs.h>
 #include <glib/gfileutils.h>
index 767c2105b40ccba9569c90b2262b61efffe353ae..0205ab04f44438c2043229a77f2d415a0c16bf82 100644 (file)
@@ -17,6 +17,7 @@
  * This code is in public domain.
  */
 
+#include <glib/gtestutils.h>
 #include <glib/gmessages.h>
 
 #include "libnr/nr-coord.h"
index 677c81c1a30b3a12aa9051585e9b8766d77c80f5..f0a2ae79d6f833fee16f5c2e4e7d3dec5ddcf80a 100644 (file)
@@ -23,6 +23,7 @@
 #include <cassert>
 #include <math.h>
 #include <glib/gmem.h>
+#include <glib/gtestutils.h>
 #include <glib/gmessages.h>
 #include <glib/gstrfuncs.h>
 #include <glib/ghash.h>
index c5689869746bedb8ed6ee281bdfcb4698c4015eb..86d8bc162375c76584647212e41bbd7927efd40a 100644 (file)
@@ -1,26 +1,26 @@
 #define __SP_SVG_PARSE_C__
-/* 
+/*
    svg-path.c: Parse SVG path element data into bezier path.
+
    Copyright (C) 2000 Eazel, Inc.
    Copyright (C) 2000 Lauris Kaplinski
    Copyright (C) 2001 Ximian, Inc.
-  
+
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License as
    published by the Free Software Foundation; either version 2 of the
    License, or (at your option) any later version.
-  
+
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    General Public License for more details.
-  
+
    You should have received a copy of the GNU General Public
    License along with this program; if not, write to the
    Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.
-  
+
    Authors:
      Raph Levien <raph@artofcode.com>
      Lauris Kaplinski <lauris@ximian.com>
@@ -30,6 +30,7 @@
 #include <glib/gmem.h>
 #include <glib/gmessages.h>
 #include <glib/gstrfuncs.h>
+#include <glib/gtestutils.h>
 
 #include "libnr/n-art-bpath.h"
 #include "gnome-canvas-bpath-util.h"
index 40f3029e14f04014367b83d0a3596d0e0d3b4467..0e852ce974f4d97e29fece4119802e9a762d4020 100644 (file)
@@ -13,6 +13,8 @@
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 
+#include <glib/gtestutils.h>
+
 #include "event.h"
 #include "event-fns.h"
 #include "util/reverse-list.h"
index 16947e66e36c7c3fc98606309afaaea09c0b16fa..69317e2a6c1e29e26ddd4eea1057de694ec2a599 100644 (file)
@@ -3,6 +3,7 @@
 #endif
 
 #include <map>
+#include <glib/gtestutils.h>
 
 #include "xml/node-iterators.h"
 #include "algorithms/find-if-before.h"
index 4063abde4be867cb0cdc662a362ecddec4273601..c06c0ed69c3475e0b04accab3d7fa4404cacfc7e 100644 (file)
@@ -12,6 +12,8 @@
  *
  */
 
+#include <glib/gtestutils.h>
+
 #include "xml/simple-document.h"
 #include "xml/event-fns.h"
 #include "xml/element-node.h"
index b4439e289bfcf5b6fdeec881be68cb1ad3a176c0..3bd2f58b4f9aa3d2d134f6f529145525e99c9792 100644 (file)
@@ -15,6 +15,8 @@
 #ifndef SEEN_INKSCAPE_XML_SIMPLE_NODE_H
 #define SEEN_INKSCAPE_XML_SIMPLE_NODE_H
 
+#include <glib/gtestutils.h>
+
 #include "xml/node.h"
 #include "xml/attribute-record.h"
 #include "xml/composite-node-observer.h"