summaryrefslogtreecommitdiff
path: root/properties
diff options
context:
space:
mode:
authorRoss Burton <ross@linux.intel.com>2010-02-22 08:02:38 +0000
committerRoss Burton <ross@linux.intel.com>2010-04-15 16:39:55 +0100
commitc28470c9d76f62c235dfbb339998c8b47182abdf (patch)
tree8b0bca9d99d74c75f3e0938db545c78f24d227ac /properties
parent997b186fd1b07c27b3b8c5f9ece33c91179c03c0 (diff)
downloadgnome-bluetooth-c28470c9d76f62c235dfbb339998c8b47182abdf.tar.gz
Make the timeout to bluetooth_client_set_discoverable an argument
Diffstat (limited to 'properties')
-rw-r--r--properties/adapter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/properties/adapter.c b/properties/adapter.c
index 54620d3e..5237bade 100644
--- a/properties/adapter.c
+++ b/properties/adapter.c
@@ -87,7 +87,7 @@ static void discoverable_changed_cb(GtkWidget *button, gpointer user_data)
/* Note that this would be broken if we showed more than
* one adapter, but we don't care */
gtk_toggle_button_set_inconsistent (GTK_TOGGLE_BUTTON (button), FALSE);
- bluetooth_client_set_discoverable (client, gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button)));
+ bluetooth_client_set_discoverable (client, gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button)), 0);
}
static void name_callback(GtkWidget *editable, gpointer user_data)