[gnome-bluetooth] Fix another case of wrong type for property



commit 0d78e627a0831ac8968942cec16aa21ec755bbbb
Author: Bastien Nocera <hadess hadess net>
Date:   Sun Jul 5 10:48:52 2009 +0100

    Fix another case of wrong type for property
    
    s/int/enum again

 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 efec5e7..7a0d569 100644
--- a/lib/bluetooth-chooser.c
+++ b/lib/bluetooth-chooser.c
@@ -1072,7 +1072,7 @@ bluetooth_chooser_get_property (GObject *object, guint prop_id,
 		g_value_set_int (value, priv->device_type_filter);
 		break;
 	case PROP_DEVICE_CATEGORY_FILTER:
-		g_value_set_int (value, priv->device_category_filter);
+		g_value_set_enum (value, priv->device_category_filter);
 		break;
 	default:
 		G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);



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