[gnome-bluetooth] Fix the device category filter setting
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-bluetooth] Fix the device category filter setting
- Date: Sun, 5 Jul 2009 10:03:17 +0000 (UTC)
commit 3321ed9ff386a19b53a49f061b33dca86554ed50
Author: Bastien Nocera <hadess hadess net>
Date: Sat Jul 4 19:22:38 2009 +0100
Fix the device category filter setting
The value doesn't contain an int, but an enum now.
Fixes random devices showing up in the properties or wizard.
lib/bluetooth-chooser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/bluetooth-chooser.c b/lib/bluetooth-chooser.c
index a458291..efec5e7 100644
--- a/lib/bluetooth-chooser.c
+++ b/lib/bluetooth-chooser.c
@@ -1033,7 +1033,7 @@ bluetooth_chooser_set_property (GObject *object, guint prop_id,
set_combobox_from_filter (BLUETOOTH_CHOOSER (object));
break;
case PROP_DEVICE_CATEGORY_FILTER:
- priv->device_category_filter = g_value_get_int (value);
+ priv->device_category_filter = g_value_get_enum (value);
gtk_combo_box_set_active (GTK_COMBO_BOX(priv->device_category), priv->device_category_filter);
break;
default:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]