summaryrefslogtreecommitdiff
path: root/gobex/gobex.h
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.de.marchi@gmail.com>2013-05-01 02:27:56 -0300
committerJohan Hedberg <johan.hedberg@intel.com>2013-05-01 09:04:21 +0300
commitc1e4e183b5e8590651064655a38298966a71ca74 (patch)
tree7c0ca28bb93e830b99596240f8587220d3f86b12 /gobex/gobex.h
parent45abbe7b9a51f3ccd085a3025c72ce3e9b5b9f86 (diff)
downloadbluez-c1e4e183b5e8590651064655a38298966a71ca74.tar.gz
gobex: Get rid of gint
Use plain int instead of gint. In glib gint is always a typedef to int, so it's safe to use it even for callbacks with glib.
Diffstat (limited to 'gobex/gobex.h')
-rw-r--r--gobex/gobex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobex/gobex.h b/gobex/gobex.h
index c42c42c49..3ac7b133f 100644
--- a/gobex/gobex.h
+++ b/gobex/gobex.h
@@ -44,7 +44,7 @@ typedef void (*GObexResponseFunc) (GObex *obex, GError *err, GObexPacket *rsp,
gboolean g_obex_send(GObex *obex, GObexPacket *pkt, GError **err);
-guint g_obex_send_req(GObex *obex, GObexPacket *req, gint timeout,
+guint g_obex_send_req(GObex *obex, GObexPacket *req, int timeout,
GObexResponseFunc func, gpointer user_data,
GError **err);
gboolean g_obex_cancel_req(GObex *obex, guint req_id,