[gnome-bluetooth] lib: No need for this cast
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] lib: No need for this cast
- Date: Thu, 13 Oct 2011 16:45:28 +0000 (UTC)
commit 49d3fb3e6a6b4b8a76c9977f17058b9c8dd41fcb
Author: Bastien Nocera <hadess hadess net>
Date: Thu Oct 13 17:11:15 2011 +0100
lib: No need for this cast
lib/test-deviceselection.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/test-deviceselection.c b/lib/test-deviceselection.c
index b778dee..26fb72e 100644
--- a/lib/test-deviceselection.c
+++ b/lib/test-deviceselection.c
@@ -284,7 +284,7 @@ static void device_changed_cb (GObject *object,
{
char *device;
- g_object_get (G_OBJECT (object), "device", &device, NULL);
+ g_object_get (object, "device", &device, NULL);
g_message ("Property \"device\" changed to '%s'", device);
gtk_dialog_set_response_sensitive (dialog,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]