summaryrefslogtreecommitdiff
path: root/unit
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2011-07-05 22:57:34 +0300
committerMarcel Holtmann <marcel@holtmann.org>2012-12-04 22:21:59 +0100
commit7fee9ce693d6733e0601a087fa8661b6a4fe917c (patch)
tree0042d0f32300b0ee3bc4e1fc59a7fcd5167b9073 /unit
parentd2c30f5c78bc1a7a6ea04e31afe1b8fdaed5d403 (diff)
gobex: Remove g_obex_set_request_function
Diffstat (limited to 'unit')
-rw-r--r--unit/test-gobex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/unit/test-gobex.c b/unit/test-gobex.c
index 3a544ed2b..d65d8a842 100644
--- a/unit/test-gobex.c
+++ b/unit/test-gobex.c
@@ -682,7 +682,8 @@ static void recv_connect(int transport_type)
create_endpoints(&obex, &io, transport_type);
- g_obex_set_request_function(obex, handle_connect_req, &gerr);
+ g_obex_add_request_function(obex, G_OBEX_OP_CONNECT,
+ handle_connect_req, &gerr);
g_obex_set_disconnect_function(obex, handle_connect_err, &gerr);
status = g_io_channel_write_chars(io, (gchar *) pkt_connect_req,