[gnome-control-center] universal-access: Re-add cc-marshal.[ch]
- From: Florian MÃllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] universal-access: Re-add cc-marshal.[ch]
- Date: Wed, 29 Jun 2011 20:59:43 +0000 (UTC)
commit 38252af6cf42da3d4e9474c24f703b4bf15e7a8c
Author: Florian MÃllner <fmuellner gnome org>
Date: Wed Jun 29 22:50:40 2011 +0200
universal-access: Re-add cc-marshal.[ch]
Sorry for the noise, that's the correct fix.
panels/universal-access/cc-marshal.c | 41 ++++++++++++++++++++++++++++++++++
panels/universal-access/cc-marshal.h | 15 ++++++++++++
2 files changed, 56 insertions(+), 0 deletions(-)
---
diff --git a/panels/universal-access/cc-marshal.c b/panels/universal-access/cc-marshal.c
new file mode 100644
index 0000000..bf0ce47
--- /dev/null
+++ b/panels/universal-access/cc-marshal.c
@@ -0,0 +1,41 @@
+#include <glib.h>
+#include <glib-object.h>
+#include "cc-marshal.h"
+
+/* VOID:STRING,POINTER (peditor-marshal.list:25) */
+void
+cc_marshal_VOID__STRING_POINTER (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data)
+{
+ typedef void (*GMarshalFunc_VOID__STRING_POINTER) (gpointer data1,
+ gpointer arg_1,
+ gpointer arg_2,
+ gpointer data2);
+ register GMarshalFunc_VOID__STRING_POINTER callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+
+ g_return_if_fail (n_param_values == 3);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_VOID__STRING_POINTER) (marshal_data ? marshal_data : cc->callback);
+
+ callback (data1,
+ (char*) g_value_get_string (param_values + 1),
+ g_value_get_pointer (param_values + 2),
+ data2);
+}
+
diff --git a/panels/universal-access/cc-marshal.h b/panels/universal-access/cc-marshal.h
new file mode 100644
index 0000000..86599df
--- /dev/null
+++ b/panels/universal-access/cc-marshal.h
@@ -0,0 +1,15 @@
+
+#include <gobject/gmarshal.h>
+
+G_BEGIN_DECLS
+
+/* VOID:STRING,POINTER (peditor-marshal.list:25) */
+extern void cc_marshal_VOID__STRING_POINTER (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+G_END_DECLS
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]