inkscape/inkscape-g_assert.patch

319 lines
12 KiB
Diff

=== modified file 'src/attributes.cpp'
--- src/attributes.cpp 2008-01-28 23:20:47 +0000
+++ src/attributes.cpp 2008-01-28 23:21:23 +0000
@@ -17,6 +17,7 @@
# include "config.h"
#endif
+#include <glib.h>
#include <glib/ghash.h>
#include "attributes.h"
=== modified file 'src/color-rgba.h'
--- src/color-rgba.h 2008-01-28 23:20:47 +0000
+++ src/color-rgba.h 2008-01-28 23:35:51 +0000
@@ -12,6 +12,7 @@
#ifndef SEEN_COLOR_RGBA_H
#define SEEN_COLOR_RGBA_H
+#include <glib.h>
#include <glib/gmessages.h>
#include "libnr/nr-pixops.h"
#include "decimal-round.h"
=== modified file 'src/display/bezier-utils.cpp'
--- src/display/bezier-utils.cpp 2008-01-28 23:20:47 +0000
+++ src/display/bezier-utils.cpp 2008-01-28 23:33:40 +0000
@@ -33,6 +33,7 @@
# include <ieeefp.h>
#endif
+#include <glib.h>
#include <glib/gmessages.h>
#include <glib/gmem.h>
#include "bezier-utils.h"
=== modified file 'src/helper/sp-marshal.cpp'
--- src/helper/sp-marshal.cpp 2008-01-28 23:20:47 +0000
+++ src/helper/sp-marshal.cpp 2008-01-28 23:37:47 +0000
@@ -57,10 +57,10 @@
/* NONE:POINTER,BOOLEAN (./helper/sp-marshal.list:5) */
void
sp_marshal_VOID__POINTER_BOOLEAN (GClosure *closure,
- GValue *return_value,
+ GValue *return_value G_GNUC_UNUSED,
guint n_param_values,
const GValue *param_values,
- gpointer invocation_hint,
+ gpointer invocation_hint G_GNUC_UNUSED,
gpointer marshal_data)
{
typedef void (*GMarshalFunc_VOID__POINTER_BOOLEAN) (gpointer data1,
@@ -94,10 +94,10 @@
/* NONE:POINTER,UINT (./helper/sp-marshal.list:6) */
void
sp_marshal_VOID__POINTER_UINT (GClosure *closure,
- GValue *return_value,
+ GValue *return_value G_GNUC_UNUSED,
guint n_param_values,
const GValue *param_values,
- gpointer invocation_hint,
+ gpointer invocation_hint G_GNUC_UNUSED,
gpointer marshal_data)
{
typedef void (*GMarshalFunc_VOID__POINTER_UINT) (gpointer data1,
@@ -131,10 +131,10 @@
/* NONE:POINTER,DOUBLE (./helper/sp-marshal.list:7) */
void
sp_marshal_VOID__POINTER_DOUBLE (GClosure *closure,
- GValue *return_value,
+ GValue *return_value G_GNUC_UNUSED,
guint n_param_values,
const GValue *param_values,
- gpointer invocation_hint,
+ gpointer invocation_hint G_GNUC_UNUSED,
gpointer marshal_data)
{
typedef void (*GMarshalFunc_VOID__POINTER_DOUBLE) (gpointer data1,
@@ -168,10 +168,10 @@
/* NONE:DOUBLE,DOUBLE (./helper/sp-marshal.list:8) */
void
sp_marshal_VOID__DOUBLE_DOUBLE (GClosure *closure,
- GValue *return_value,
+ GValue *return_value G_GNUC_UNUSED,
guint n_param_values,
const GValue *param_values,
- gpointer invocation_hint,
+ gpointer invocation_hint G_GNUC_UNUSED,
gpointer marshal_data)
{
typedef void (*GMarshalFunc_VOID__DOUBLE_DOUBLE) (gpointer data1,
@@ -205,10 +205,10 @@
/* NONE:STRING,BOOL (./helper/sp-marshal.list:9) */
void
sp_marshal_VOID__STRING_BOOLEAN (GClosure *closure,
- GValue *return_value,
+ GValue *return_value G_GNUC_UNUSED,
guint n_param_values,
const GValue *param_values,
- gpointer invocation_hint,
+ gpointer invocation_hint G_GNUC_UNUSED,
gpointer marshal_data)
{
typedef void (*GMarshalFunc_VOID__STRING_BOOLEAN) (gpointer data1,
@@ -242,10 +242,10 @@
/* BOOLEAN:NONE (./helper/sp-marshal.list:10) */
void
sp_marshal_BOOLEAN__VOID (GClosure *closure,
- GValue *return_value,
+ GValue *return_value G_GNUC_UNUSED,
guint n_param_values,
const GValue *param_values,
- gpointer invocation_hint,
+ gpointer invocation_hint G_GNUC_UNUSED,
gpointer marshal_data)
{
typedef gboolean (*GMarshalFunc_BOOLEAN__VOID) (gpointer data1,
@@ -279,10 +279,10 @@
/* BOOLEAN:UINT (./helper/sp-marshal.list:11) */
void
sp_marshal_BOOLEAN__UINT (GClosure *closure,
- GValue *return_value,
+ GValue *return_value G_GNUC_UNUSED,
guint n_param_values,
const GValue *param_values,
- gpointer invocation_hint,
+ gpointer invocation_hint G_GNUC_UNUSED,
gpointer marshal_data)
{
typedef gboolean (*GMarshalFunc_BOOLEAN__UINT) (gpointer data1,
@@ -318,10 +318,10 @@
/* BOOLEAN:POINTER (./helper/sp-marshal.list:12) */
void
sp_marshal_BOOLEAN__POINTER (GClosure *closure,
- GValue *return_value,
+ GValue *return_value G_GNUC_UNUSED,
guint n_param_values,
const GValue *param_values,
- gpointer invocation_hint,
+ gpointer invocation_hint G_GNUC_UNUSED,
gpointer marshal_data)
{
typedef gboolean (*GMarshalFunc_BOOLEAN__POINTER) (gpointer data1,
@@ -357,10 +357,10 @@
/* BOOLEAN:POINTER,UINT (./helper/sp-marshal.list:13) */
void
sp_marshal_BOOLEAN__POINTER_UINT (GClosure *closure,
- GValue *return_value,
+ GValue *return_value G_GNUC_UNUSED,
guint n_param_values,
const GValue *param_values,
- gpointer invocation_hint,
+ gpointer invocation_hint G_GNUC_UNUSED,
gpointer marshal_data)
{
typedef gboolean (*GMarshalFunc_BOOLEAN__POINTER_UINT) (gpointer data1,
@@ -398,10 +398,10 @@
/* BOOLEAN:POINTER,POINTER (./helper/sp-marshal.list:14) */
void
sp_marshal_BOOLEAN__POINTER_POINTER (GClosure *closure,
- GValue *return_value,
+ GValue *return_value G_GNUC_UNUSED,
guint n_param_values,
const GValue *param_values,
- gpointer invocation_hint,
+ gpointer invocation_hint G_GNUC_UNUSED,
gpointer marshal_data)
{
typedef gboolean (*GMarshalFunc_BOOLEAN__POINTER_POINTER) (gpointer data1,
@@ -439,10 +439,10 @@
/* INT:POINTER,POINTER (./helper/sp-marshal.list:15) */
void
sp_marshal_INT__POINTER_POINTER (GClosure *closure,
- GValue *return_value,
+ GValue *return_value G_GNUC_UNUSED,
guint n_param_values,
const GValue *param_values,
- gpointer invocation_hint,
+ gpointer invocation_hint G_GNUC_UNUSED,
gpointer marshal_data)
{
typedef gint (*GMarshalFunc_INT__POINTER_POINTER) (gpointer data1,
@@ -480,10 +480,10 @@
/* DOUBLE:POINTER,UINT (./helper/sp-marshal.list:16) */
void
sp_marshal_DOUBLE__POINTER_UINT (GClosure *closure,
- GValue *return_value,
+ GValue *return_value G_GNUC_UNUSED,
guint n_param_values,
const GValue *param_values,
- gpointer invocation_hint,
+ gpointer invocation_hint G_GNUC_UNUSED,
gpointer marshal_data)
{
typedef gdouble (*GMarshalFunc_DOUBLE__POINTER_UINT) (gpointer data1,
=== modified file 'src/helper/units.cpp'
--- src/helper/units.cpp 2008-01-28 23:20:47 +0000
+++ src/helper/units.cpp 2008-01-28 23:38:40 +0000
@@ -19,6 +19,7 @@
# include "config.h"
#endif
+#include <glib.h>
#include "helper/units.h"
#include <glibmm/i18n.h>
#include "unit-constants.h"
=== modified file 'src/io/resource.cpp'
--- src/io/resource.cpp 2008-01-28 23:20:47 +0000
+++ src/io/resource.cpp 2008-01-28 23:40:15 +0000
@@ -16,6 +16,8 @@
#include "config.h"
#endif
+#include <glib.h>
+
#include <glib/gmessages.h>
#include <glib/gstrfuncs.h>
#include <glib/gfileutils.h>
=== modified file 'src/libnr/nr-matrix.h'
--- src/libnr/nr-matrix.h 2008-01-28 23:20:47 +0000
+++ src/libnr/nr-matrix.h 2008-01-28 23:26:28 +0000
@@ -17,6 +17,7 @@
* This code is in public domain.
*/
+#include <glib.h>
#include <glib/gmessages.h>
#include "libnr/nr-coord.h"
=== modified file 'src/svg/svg-color.cpp'
--- src/svg/svg-color.cpp 2008-01-28 23:20:47 +0000
+++ src/svg/svg-color.cpp 2008-01-28 23:49:06 +0000
@@ -22,6 +22,7 @@
#include "svg-icc-color.h"
#include <cassert>
#include <math.h>
+#include <glib.h>
#include <glib/gmem.h>
#include <glib/gmessages.h>
#include <glib/gstrfuncs.h>
=== modified file 'src/svg/svg-path.cpp'
--- src/svg/svg-path.cpp 2008-01-28 23:20:47 +0000
+++ src/svg/svg-path.cpp 2008-01-28 23:49:27 +0000
@@ -27,6 +27,7 @@
*/
#include <cassert>
+#include <glib.h>
#include <glib/gmem.h>
#include <glib/gmessages.h>
#include <glib/gstrfuncs.h>
=== modified file 'src/xml/composite-node-observer.cpp'
--- src/xml/composite-node-observer.cpp 2008-01-28 23:20:47 +0000
+++ src/xml/composite-node-observer.cpp 2008-01-28 23:49:50 +0000
@@ -12,6 +12,7 @@
*
*/
+#include <glib.h>
#include <cstring>
#include "algorithms/find-if-before.h"
#include "xml/composite-node-observer.h"
=== modified file 'src/xml/event.cpp'
--- src/xml/event.cpp 2008-01-28 23:20:47 +0000
+++ src/xml/event.cpp 2008-01-28 23:52:19 +0000
@@ -13,6 +13,7 @@
* Released under GNU GPL, read the file 'COPYING' for more information
*/
+#include <glib.h>
#include "event.h"
#include "event-fns.h"
#include "util/reverse-list.h"
=== modified file 'src/xml/node-fns.cpp'
--- src/xml/node-fns.cpp 2008-01-28 23:20:47 +0000
+++ src/xml/node-fns.cpp 2008-01-28 23:50:19 +0000
@@ -2,6 +2,7 @@
# include "config.h"
#endif
+#include <glib.h>
#include <map>
#include <cstring>
#include <string>
=== modified file 'src/xml/repr-css.cpp'
--- src/xml/repr-css.cpp 2008-01-28 23:20:47 +0000
+++ src/xml/repr-css.cpp 2008-01-28 23:50:05 +0000
@@ -4,7 +4,7 @@
#define SP_REPR_CSS_C
-
+#include <glib.h>
#include <glibmm/ustring.h>
#include <cstring>
#include "xml/repr.h"
=== modified file 'src/xml/simple-node.h'
--- src/xml/simple-node.h 2008-01-28 23:20:47 +0000
+++ src/xml/simple-node.h 2008-01-28 23:50:38 +0000
@@ -15,6 +15,7 @@
#ifndef SEEN_INKSCAPE_XML_SIMPLE_NODE_H
#define SEEN_INKSCAPE_XML_SIMPLE_NODE_H
+#include <glib.h>
#include "xml/node.h"
#include "xml/attribute-record.h"
#include "xml/transaction-logger.h"