From 594411e9472e322980906c2d6062a7679d11d5af Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Mon, 9 May 2016 12:45:50 +0200 Subject: bt-obex: Fix compilation warning Expects a gboolean, not a pointer. --- src/lib/obex_agent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/obex_agent.c b/src/lib/obex_agent.c index d763318..1325bc8 100644 --- a/src/lib/obex_agent.c +++ b/src/lib/obex_agent.c @@ -121,7 +121,7 @@ static void obex_agent_class_init(ObexAgentClass *klass) } /* boolean AutoAccept [readwrite, construct only] */ - pspec = g_param_spec_boolean("AutoAccept", "auto_accept", "Automatically accept incoming files", NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY); + pspec = g_param_spec_boolean("AutoAccept", "auto_accept", "Automatically accept incoming files", FALSE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY); g_object_class_install_property(gobject_class, PROP_AUTO_ACCPET, pspec); if (pspec) -- cgit v1.2.1