From: bryce Date: Sat, 5 Jan 2008 02:50:35 +0000 (+0000) Subject: Fix missing include for g_assert() calls - causes FTBFS on Ubuntu Hardy X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3c605688a779c1aee7303c136d22c7418f107d3a;p=inkscape.git Fix missing include for g_assert() calls - causes FTBFS on Ubuntu Hardy currently. --- diff --git a/share/tutorials/tutorial-basic.svg b/share/tutorials/tutorial-basic.svg index b994bb432..2b31b4aca 100644 --- a/share/tutorials/tutorial-basic.svg +++ b/share/tutorials/tutorial-basic.svg @@ -559,4 +559,4 @@ graphics. For more complicated stuff, go through the Advanced and other tutorial Use Ctrl+up arrow to scroll - \ No newline at end of file + diff --git a/src/attributes.cpp b/src/attributes.cpp index 8232065fc..be5dedc24 100644 --- a/src/attributes.cpp +++ b/src/attributes.cpp @@ -17,6 +17,7 @@ # include "config.h" #endif +#include #include #include "attributes.h" diff --git a/src/axis-manip.h b/src/axis-manip.h index e5cc963ba..0021630a0 100644 --- a/src/axis-manip.h +++ b/src/axis-manip.h @@ -12,6 +12,7 @@ #ifndef SEEN_AXIS_MANIP_H #define SEEN_AXIS_MANIP_H +#include #include #include "libnr/nr-point.h" diff --git a/src/color-rgba.h b/src/color-rgba.h index 59a15f3c0..b968f3de1 100644 --- a/src/color-rgba.h +++ b/src/color-rgba.h @@ -1,7 +1,7 @@ /** \file color-rgba.h A class to handle a RGBA color as one unit. - + Authors: bulia byak @@ -12,6 +12,7 @@ #ifndef SEEN_COLOR_RGBA_H #define SEEN_COLOR_RGBA_H +#include #include #include "libnr/nr-pixops.h" #include "decimal-round.h" diff --git a/src/debug/simple-event.h b/src/debug/simple-event.h index 24f1c7545..3126f10f1 100644 --- a/src/debug/simple-event.h +++ b/src/debug/simple-event.h @@ -14,8 +14,10 @@ #include #include -#include "glib/gstrfuncs.h" -#include "glib/gmessages.h" +#include +#include +#include + #include "gc-alloc.h" #include "debug/event.h" diff --git a/src/display/bezier-utils.cpp b/src/display/bezier-utils.cpp index 7dadc0a7b..95b1a5eb1 100644 --- a/src/display/bezier-utils.cpp +++ b/src/display/bezier-utils.cpp @@ -33,6 +33,7 @@ # include #endif +#include #include #include #include "bezier-utils.h" diff --git a/src/helper/units.cpp b/src/helper/units.cpp index 448f60302..45d6d27f9 100644 --- a/src/helper/units.cpp +++ b/src/helper/units.cpp @@ -20,6 +20,7 @@ #endif #include "helper/units.h" +#include #include #include "unit-constants.h" #include "svg/svg-length.h" diff --git a/src/io/resource.cpp b/src/io/resource.cpp index b4dca3233..267a82d01 100644 --- a/src/io/resource.cpp +++ b/src/io/resource.cpp @@ -16,6 +16,7 @@ #include "config.h" #endif +#include #include #include #include diff --git a/src/libnr/nr-matrix.h b/src/libnr/nr-matrix.h index 767c2105b..0205ab04f 100644 --- a/src/libnr/nr-matrix.h +++ b/src/libnr/nr-matrix.h @@ -17,6 +17,7 @@ * This code is in public domain. */ +#include #include #include "libnr/nr-coord.h" diff --git a/src/svg/svg-color.cpp b/src/svg/svg-color.cpp index 677c81c1a..f0a2ae79d 100644 --- a/src/svg/svg-color.cpp +++ b/src/svg/svg-color.cpp @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include diff --git a/src/svg/svg-path.cpp b/src/svg/svg-path.cpp index c56898697..86d8bc162 100644 --- a/src/svg/svg-path.cpp +++ b/src/svg/svg-path.cpp @@ -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 Lauris Kaplinski @@ -30,6 +30,7 @@ #include #include #include +#include #include "libnr/n-art-bpath.h" #include "gnome-canvas-bpath-util.h" diff --git a/src/xml/event.cpp b/src/xml/event.cpp index 40f3029e1..0e852ce97 100644 --- a/src/xml/event.cpp +++ b/src/xml/event.cpp @@ -13,6 +13,8 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +#include + #include "event.h" #include "event-fns.h" #include "util/reverse-list.h" diff --git a/src/xml/node-fns.cpp b/src/xml/node-fns.cpp index 16947e66e..69317e2a6 100644 --- a/src/xml/node-fns.cpp +++ b/src/xml/node-fns.cpp @@ -3,6 +3,7 @@ #endif #include +#include #include "xml/node-iterators.h" #include "algorithms/find-if-before.h" diff --git a/src/xml/simple-document.cpp b/src/xml/simple-document.cpp index 4063abde4..c06c0ed69 100644 --- a/src/xml/simple-document.cpp +++ b/src/xml/simple-document.cpp @@ -12,6 +12,8 @@ * */ +#include + #include "xml/simple-document.h" #include "xml/event-fns.h" #include "xml/element-node.h" diff --git a/src/xml/simple-node.h b/src/xml/simple-node.h index b4439e289..3bd2f58b4 100644 --- a/src/xml/simple-node.h +++ b/src/xml/simple-node.h @@ -15,6 +15,8 @@ #ifndef SEEN_INKSCAPE_XML_SIMPLE_NODE_H #define SEEN_INKSCAPE_XML_SIMPLE_NODE_H +#include + #include "xml/node.h" #include "xml/attribute-record.h" #include "xml/composite-node-observer.h"