1
- // This file was generated by gir (https://github.com/gtk-rs/gir @ 32cbf3c +)
2
- // from gir-files (https://github.com/gtk-rs/gir-files @ b215ee8+ )
1
+ // This file was generated by gir (https://github.com/gtk-rs/gir @ ec3c0fa +)
2
+ // from gir-files (https://github.com/gtk-rs/gir-files @ 2b56823 )
3
3
// DO NOT EDIT
4
4
5
5
#[ allow( unused_imports) ]
@@ -72,7 +72,7 @@ unsafe extern "C" fn action_activate<T: ObjectType>
72
72
let imp = instance. get_impl ( ) ;
73
73
let imp = ( * ( * interface_static) . imp_static ) . get_impl ( imp) ;
74
74
let wrap: T = from_glib_borrow ( instance) ;
75
- imp. activate ( & wrap)
75
+ imp. activate ( & wrap, & from_glib_none ( action ) , /*Unknown conversion*/ parameter )
76
76
}
77
77
78
78
unsafe extern "C" fn action_change_state < T : ObjectType >
@@ -87,7 +87,7 @@ unsafe extern "C" fn action_change_state<T: ObjectType>
87
87
let imp = instance. get_impl ( ) ;
88
88
let imp = ( * ( * interface_static) . imp_static ) . get_impl ( imp) ;
89
89
let wrap: T = from_glib_borrow ( instance) ;
90
- imp. change_state ( & wrap)
90
+ imp. change_state ( & wrap, & from_glib_none ( action ) , & from_glib_none ( value ) )
91
91
}
92
92
93
93
unsafe extern "C" fn action_get_enabled < T : ObjectType >
@@ -102,7 +102,7 @@ unsafe extern "C" fn action_get_enabled<T: ObjectType>
102
102
let imp = instance. get_impl ( ) ;
103
103
let imp = ( * ( * interface_static) . imp_static ) . get_impl ( imp) ;
104
104
let wrap: T = from_glib_borrow ( instance) ;
105
- imp. get_enabled ( & wrap)
105
+ imp. get_enabled ( & wrap, & from_glib_none ( action ) ) . to_glib ( )
106
106
}
107
107
108
108
unsafe extern "C" fn action_get_name < T : ObjectType >
@@ -117,7 +117,7 @@ unsafe extern "C" fn action_get_name<T: ObjectType>
117
117
let imp = instance. get_impl ( ) ;
118
118
let imp = ( * ( * interface_static) . imp_static ) . get_impl ( imp) ;
119
119
let wrap: T = from_glib_borrow ( instance) ;
120
- imp. get_name ( & wrap)
120
+ imp. get_name ( & wrap, & from_glib_none ( action ) ) /*Not checked*/ . to_glib_none ( ) . 0
121
121
}
122
122
123
123
unsafe extern "C" fn action_get_parameter_type < T : ObjectType >
@@ -132,7 +132,7 @@ unsafe extern "C" fn action_get_parameter_type<T: ObjectType>
132
132
let imp = instance. get_impl ( ) ;
133
133
let imp = ( * ( * interface_static) . imp_static ) . get_impl ( imp) ;
134
134
let wrap: T = from_glib_borrow ( instance) ;
135
- imp. get_parameter_type ( & wrap)
135
+ imp. get_parameter_type ( & wrap, & from_glib_none ( action ) ) /*Not checked*/ . to_glib_none ( ) . 0
136
136
}
137
137
138
138
unsafe extern "C" fn action_get_state < T : ObjectType >
@@ -147,7 +147,7 @@ unsafe extern "C" fn action_get_state<T: ObjectType>
147
147
let imp = instance. get_impl ( ) ;
148
148
let imp = ( * ( * interface_static) . imp_static ) . get_impl ( imp) ;
149
149
let wrap: T = from_glib_borrow ( instance) ;
150
- imp. get_state ( & wrap)
150
+ imp. get_state ( & wrap, & from_glib_none ( action ) ) . to_glib_full ( )
151
151
}
152
152
153
153
unsafe extern "C" fn action_get_state_hint < T : ObjectType >
@@ -162,7 +162,7 @@ unsafe extern "C" fn action_get_state_hint<T: ObjectType>
162
162
let imp = instance. get_impl ( ) ;
163
163
let imp = ( * ( * interface_static) . imp_static ) . get_impl ( imp) ;
164
164
let wrap: T = from_glib_borrow ( instance) ;
165
- imp. get_state_hint ( & wrap)
165
+ imp. get_state_hint ( & wrap, & from_glib_none ( action ) ) . to_glib_full ( )
166
166
}
167
167
168
168
unsafe extern "C" fn action_get_state_type < T : ObjectType >
@@ -177,7 +177,7 @@ unsafe extern "C" fn action_get_state_type<T: ObjectType>
177
177
let imp = instance. get_impl ( ) ;
178
178
let imp = ( * ( * interface_static) . imp_static ) . get_impl ( imp) ;
179
179
let wrap: T = from_glib_borrow ( instance) ;
180
- imp. get_state_type ( & wrap)
180
+ imp. get_state_type ( & wrap, & from_glib_none ( action ) ) /*Not checked*/ . to_glib_none ( ) . 0
181
181
}
182
182
183
183
unsafe extern "C" fn action_init < T : ObjectType > (
0 commit comments