diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-06-29 16:32:01 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-06-29 16:32:01 +0800 |
commit | b41b89d2288fa87201f17909ce6ca252dacd292e (patch) | |
tree | 607e01e621657cf0badea7c4403d6f4a240fef5d /lib/egg/eggmarshalers.c | |
parent | 515526399a7f11480c4077c55cdde9c5a796aca4 (diff) | |
download | gsoc2013-epiphany-b41b89d2288fa87201f17909ce6ca252dacd292e.tar gsoc2013-epiphany-b41b89d2288fa87201f17909ce6ca252dacd292e.tar.gz gsoc2013-epiphany-b41b89d2288fa87201f17909ce6ca252dacd292e.tar.bz2 gsoc2013-epiphany-b41b89d2288fa87201f17909ce6ca252dacd292e.tar.lz gsoc2013-epiphany-b41b89d2288fa87201f17909ce6ca252dacd292e.tar.xz gsoc2013-epiphany-b41b89d2288fa87201f17909ce6ca252dacd292e.tar.zst gsoc2013-epiphany-b41b89d2288fa87201f17909ce6ca252dacd292e.zip |
Make sure marshalers are regenerated
2003-06-29 Marco Pesenti Gritti <marco@it.gnome.org>
* lib/egg/Makefile.am:
Make sure marshalers are regenerated
* lib/egg/egg-editable-toolbar.c:
* lib/egg/eggmarshalers.c:
* lib/egg/eggmarshalers.h:
* lib/egg/eggmarshalers.list:
* lib/egg/eggradiotoolbutton.c:
* lib/egg/eggradiotoolbutton.h:
* lib/egg/eggtoggletoolbutton.c:
* lib/egg/eggtoggletoolbutton.h:
* lib/egg/eggtoolbar.c:
* lib/egg/eggtoolbar.h:
* lib/egg/eggtoolbutton.c:
* lib/egg/eggtoolbutton.h:
* lib/egg/eggtoolitem.c:
* lib/egg/eggtoolitem.h:
Update
Diffstat (limited to 'lib/egg/eggmarshalers.c')
-rw-r--r-- | lib/egg/eggmarshalers.c | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/lib/egg/eggmarshalers.c b/lib/egg/eggmarshalers.c index c99915636..347cbfc5e 100644 --- a/lib/egg/eggmarshalers.c +++ b/lib/egg/eggmarshalers.c @@ -474,3 +474,85 @@ _egg_marshal_VOID__OBJECT_ENUM_BOXED (GClosure *closure, /* VOID:BOXED (eggmarshalers.list:15) */ +/* BOOLEAN:BOOLEAN (eggmarshalers.list:16) */ +void +_egg_marshal_BOOLEAN__BOOLEAN (GClosure *closure, + GValue *return_value, + guint n_param_values, + const GValue *param_values, + gpointer invocation_hint, + gpointer marshal_data) +{ + typedef gboolean (*GMarshalFunc_BOOLEAN__BOOLEAN) (gpointer data1, + gboolean arg_1, + gpointer data2); + register GMarshalFunc_BOOLEAN__BOOLEAN callback; + register GCClosure *cc = (GCClosure*) closure; + register gpointer data1, data2; + gboolean v_return; + + g_return_if_fail (return_value != NULL); + g_return_if_fail (n_param_values == 2); + + 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_BOOLEAN__BOOLEAN) (marshal_data ? marshal_data : cc->callback); + + v_return = callback (data1, + g_marshal_value_peek_boolean (param_values + 1), + data2); + + g_value_set_boolean (return_value, v_return); +} + +/* BOOLEAN:OBJECT,STRING,STRING (eggmarshalers.list:17) */ +void +_egg_marshal_BOOLEAN__OBJECT_STRING_STRING (GClosure *closure, + GValue *return_value, + guint n_param_values, + const GValue *param_values, + gpointer invocation_hint, + gpointer marshal_data) +{ + typedef gboolean (*GMarshalFunc_BOOLEAN__OBJECT_STRING_STRING) (gpointer data1, + gpointer arg_1, + gpointer arg_2, + gpointer arg_3, + gpointer data2); + register GMarshalFunc_BOOLEAN__OBJECT_STRING_STRING callback; + register GCClosure *cc = (GCClosure*) closure; + register gpointer data1, data2; + gboolean v_return; + + g_return_if_fail (return_value != NULL); + g_return_if_fail (n_param_values == 4); + + 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_BOOLEAN__OBJECT_STRING_STRING) (marshal_data ? marshal_data : cc->callback); + + v_return = callback (data1, + g_marshal_value_peek_object (param_values + 1), + g_marshal_value_peek_string (param_values + 2), + g_marshal_value_peek_string (param_values + 3), + data2); + + g_value_set_boolean (return_value, v_return); +} + |