summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2008-06-09 22:19:26 +0000
committerishmal <ishmal@users.sourceforge.net>2008-06-09 22:19:26 +0000
commit94996ef8282c8a8bf2d961a62d42754d9621a5e1 (patch)
tree60aeeca25b218793a50b4b6b0bd6b0517c544528 /src
parentbetter compilation for linux (diff)
downloadinkscape-94996ef8282c8a8bf2d961a62d42754d9621a5e1.tar.gz
inkscape-94996ef8282c8a8bf2d961a62d42754d9621a5e1.zip
updated slightly
(bzr r5868)
Diffstat (limited to 'src')
-rw-r--r--src/helper/sp-marshal.cpp.mingw54
-rw-r--r--src/helper/sp-marshal.h.mingw27
2 files changed, 41 insertions, 40 deletions
diff --git a/src/helper/sp-marshal.cpp.mingw b/src/helper/sp-marshal.cpp.mingw
index 8a7e7648c..241d930af 100644
--- a/src/helper/sp-marshal.cpp.mingw
+++ b/src/helper/sp-marshal.cpp.mingw
@@ -1,5 +1,5 @@
-#include "helper/sp-marshal.h"
+#include "helper/sp-marshal.h"
#include <glib-object.h>
@@ -36,8 +36,8 @@
#define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
#define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
#define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
-#define g_marshal_value_peek_enum(v) (v)->data[0].v_int
-#define g_marshal_value_peek_flags(v) (v)->data[0].v_uint
+#define g_marshal_value_peek_enum(v) (v)->data[0].v_long
+#define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
#define g_marshal_value_peek_float(v) (v)->data[0].v_float
#define g_marshal_value_peek_double(v) (v)->data[0].v_double
#define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
@@ -57,10 +57,10 @@
/* NONE:POINTER,BOOLEAN (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 @@ sp_marshal_VOID__POINTER_BOOLEAN (GClosure *closure,
/* NONE:POINTER,UINT (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 @@ sp_marshal_VOID__POINTER_UINT (GClosure *closure,
/* NONE:POINTER,DOUBLE (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 @@ sp_marshal_VOID__POINTER_DOUBLE (GClosure *closure,
/* NONE:DOUBLE,DOUBLE (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 @@ sp_marshal_VOID__DOUBLE_DOUBLE (GClosure *closure,
/* NONE:STRING,BOOL (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 @@ sp_marshal_VOID__STRING_BOOLEAN (GClosure *closure,
/* BOOLEAN:NONE (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 @@ sp_marshal_BOOLEAN__VOID (GClosure *closure,
/* BOOLEAN:UINT (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 @@ sp_marshal_BOOLEAN__UINT (GClosure *closure,
/* BOOLEAN:POINTER (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 @@ sp_marshal_BOOLEAN__POINTER (GClosure *closure,
/* BOOLEAN:POINTER,UINT (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 @@ sp_marshal_BOOLEAN__POINTER_UINT (GClosure *closure,
/* BOOLEAN:POINTER,POINTER (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 @@ sp_marshal_BOOLEAN__POINTER_POINTER (GClosure *closure,
/* INT:POINTER,POINTER (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 @@ sp_marshal_INT__POINTER_POINTER (GClosure *closure,
/* DOUBLE:POINTER,UINT (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,
diff --git a/src/helper/sp-marshal.h.mingw b/src/helper/sp-marshal.h.mingw
index 9b573c523..9a97e06aa 100644
--- a/src/helper/sp-marshal.h.mingw
+++ b/src/helper/sp-marshal.h.mingw
@@ -2,21 +2,21 @@
#ifndef __sp_marshal_MARSHAL_H__
#define __sp_marshal_MARSHAL_H__
-#include <glib-object.h>
+#include <glib-object.h>
G_BEGIN_DECLS
/* NONE:NONE (sp-marshal.list:2) */
-#define sp_marshal_VOID__VOID g_cclosure_marshal_VOID__VOID
-#define sp_marshal_NONE__NONE sp_marshal_VOID__VOID
+#define sp_marshal_VOID__VOID g_cclosure_marshal_VOID__VOID
+#define sp_marshal_NONE__NONE sp_marshal_VOID__VOID
/* NONE:UINT (sp-marshal.list:3) */
-#define sp_marshal_VOID__UINT g_cclosure_marshal_VOID__UINT
-#define sp_marshal_NONE__UINT sp_marshal_VOID__UINT
+#define sp_marshal_VOID__UINT g_cclosure_marshal_VOID__UINT
+#define sp_marshal_NONE__UINT sp_marshal_VOID__UINT
/* NONE:POINTER (sp-marshal.list:4) */
-#define sp_marshal_VOID__POINTER g_cclosure_marshal_VOID__POINTER
-#define sp_marshal_NONE__POINTER sp_marshal_VOID__POINTER
+#define sp_marshal_VOID__POINTER g_cclosure_marshal_VOID__POINTER
+#define sp_marshal_NONE__POINTER sp_marshal_VOID__POINTER
/* NONE:POINTER,BOOLEAN (sp-marshal.list:5) */
extern void sp_marshal_VOID__POINTER_BOOLEAN (GClosure *closure,
@@ -25,7 +25,7 @@ extern void sp_marshal_VOID__POINTER_BOOLEAN (GClosure *closure,
const GValue *param_values,
gpointer invocation_hint,
gpointer marshal_data);
-#define sp_marshal_NONE__POINTER_BOOLEAN sp_marshal_VOID__POINTER_BOOLEAN
+#define sp_marshal_NONE__POINTER_BOOLEAN sp_marshal_VOID__POINTER_BOOLEAN
/* NONE:POINTER,UINT (sp-marshal.list:6) */
extern void sp_marshal_VOID__POINTER_UINT (GClosure *closure,
@@ -34,7 +34,7 @@ extern void sp_marshal_VOID__POINTER_UINT (GClosure *closure,
const GValue *param_values,
gpointer invocation_hint,
gpointer marshal_data);
-#define sp_marshal_NONE__POINTER_UINT sp_marshal_VOID__POINTER_UINT
+#define sp_marshal_NONE__POINTER_UINT sp_marshal_VOID__POINTER_UINT
/* NONE:POINTER,DOUBLE (sp-marshal.list:7) */
extern void sp_marshal_VOID__POINTER_DOUBLE (GClosure *closure,
@@ -43,7 +43,7 @@ extern void sp_marshal_VOID__POINTER_DOUBLE (GClosure *closure,
const GValue *param_values,
gpointer invocation_hint,
gpointer marshal_data);
-#define sp_marshal_NONE__POINTER_DOUBLE sp_marshal_VOID__POINTER_DOUBLE
+#define sp_marshal_NONE__POINTER_DOUBLE sp_marshal_VOID__POINTER_DOUBLE
/* NONE:DOUBLE,DOUBLE (sp-marshal.list:8) */
extern void sp_marshal_VOID__DOUBLE_DOUBLE (GClosure *closure,
@@ -52,7 +52,7 @@ extern void sp_marshal_VOID__DOUBLE_DOUBLE (GClosure *closure,
const GValue *param_values,
gpointer invocation_hint,
gpointer marshal_data);
-#define sp_marshal_NONE__DOUBLE_DOUBLE sp_marshal_VOID__DOUBLE_DOUBLE
+#define sp_marshal_NONE__DOUBLE_DOUBLE sp_marshal_VOID__DOUBLE_DOUBLE
/* NONE:STRING,BOOL (sp-marshal.list:9) */
extern void sp_marshal_VOID__STRING_BOOLEAN (GClosure *closure,
@@ -61,7 +61,7 @@ extern void sp_marshal_VOID__STRING_BOOLEAN (GClosure *closure,
const GValue *param_values,
gpointer invocation_hint,
gpointer marshal_data);
-#define sp_marshal_NONE__STRING_BOOL sp_marshal_VOID__STRING_BOOLEAN
+#define sp_marshal_NONE__STRING_BOOL sp_marshal_VOID__STRING_BOOLEAN
/* BOOLEAN:NONE (sp-marshal.list:10) */
extern void sp_marshal_BOOLEAN__VOID (GClosure *closure,
@@ -70,7 +70,7 @@ extern void sp_marshal_BOOLEAN__VOID (GClosure *closure,
const GValue *param_values,
gpointer invocation_hint,
gpointer marshal_data);
-#define sp_marshal_BOOLEAN__NONE sp_marshal_BOOLEAN__VOID
+#define sp_marshal_BOOLEAN__NONE sp_marshal_BOOLEAN__VOID
/* BOOLEAN:UINT (sp-marshal.list:11) */
extern void sp_marshal_BOOLEAN__UINT (GClosure *closure,
@@ -123,3 +123,4 @@ extern void sp_marshal_DOUBLE__POINTER_UINT (GClosure *closure,
G_END_DECLS
#endif /* __sp_marshal_MARSHAL_H__ */
+