summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2018-02-16 11:52:46 +0100
committerBastien Nocera <hadess@hadess.net>2018-02-16 11:55:08 +0100
commit86574feca8f33aa173cd9b0558c52d4fafb8320b (patch)
tree24cc84890c1258b0dea77ac61bda2ddba3f62a48 /lib
parentbbc562c94a634450fa8443dc5a8d8d6f7c254432 (diff)
downloadgnome-bluetooth-86574feca8f33aa173cd9b0558c52d4fafb8320b.tar.gz
lib: Fix compile-time warning
lib/bluetooth-client.c:1225:8: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] model = g_object_ref(priv->store); ^
Diffstat (limited to 'lib')
-rw-r--r--lib/bluetooth-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bluetooth-client.c b/lib/bluetooth-client.c
index beea7edf..0233537e 100644
--- a/lib/bluetooth-client.c
+++ b/lib/bluetooth-client.c
@@ -1210,7 +1210,7 @@ GtkTreeModel *bluetooth_client_get_model (BluetoothClient *client)
g_return_val_if_fail (BLUETOOTH_IS_CLIENT (client), NULL);
priv = BLUETOOTH_CLIENT_GET_PRIVATE(client);
- model = g_object_ref(priv->store);
+ model = GTK_TREE_MODEL (g_object_ref(priv->store));
return model;
}