|
@@ -138,18 +138,8 @@ size_t xfer_window ( struct interface *intf ) {
|
138
|
138
|
* generating an xfer_window_changed() message.
|
139
|
139
|
*/
|
140
|
140
|
void xfer_window_changed ( struct interface *intf ) {
|
141
|
|
- struct interface *dest;
|
142
|
|
- xfer_window_changed_TYPE ( void * ) *op =
|
143
|
|
- intf_get_dest_op ( intf, xfer_window_changed, &dest );
|
144
|
|
- void *object = intf_object ( dest );
|
145
|
141
|
|
146
|
|
- if ( op ) {
|
147
|
|
- op ( object );
|
148
|
|
- } else {
|
149
|
|
- /* Default is to do nothing */
|
150
|
|
- }
|
151
|
|
-
|
152
|
|
- intf_put ( dest );
|
|
142
|
+ intf_poke ( intf, xfer_window_changed );
|
153
|
143
|
}
|
154
|
144
|
|
155
|
145
|
/**
|