[gnome-bluetooth] Fix warning on startup



commit 107248b783ac6ad2be203f722e99f11266e97007
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Sep 25 16:53:32 2009 +0100

    Fix warning on startup
    
    Make sure the property's default value is set.

 lib/bluetooth-chooser.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/lib/bluetooth-chooser.c b/lib/bluetooth-chooser.c
index 5e5fe53..33a8ed8 100644
--- a/lib/bluetooth-chooser.c
+++ b/lib/bluetooth-chooser.c
@@ -708,6 +708,7 @@ bluetooth_chooser_init(BluetoothChooser *self)
 
 	gtk_widget_push_composite_child ();
 
+	priv->device_type_filter = BLUETOOTH_TYPE_ANY;
 	priv->show_paired = FALSE;
 	priv->show_searching = FALSE;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]