commit 92c2a295b29836480b6e657e2821721c1f966d52
Author: Olivier Fourdan <fourdan@xfce.org>
Date:   Tue Mar 27 15:36:38 2012 +0200

    iwacom: Styli list can be null if the device definition is incomplete,
    triggerring an abort via the assert() in gsd_wacom_device_set_current_stylus()

diff --git a/plugins/wacom/gsd-wacom-device.c b/plugins/wacom/gsd-wacom-device.c
index f995546..603cfbe 100644
--- a/plugins/wacom/gsd-wacom-device.c
+++ b/plugins/wacom/gsd-wacom-device.c
@@ -1488,7 +1488,10 @@ gsd_wacom_device_set_current_stylus (GsdWacomDevice *device,
 		   stylus_id, device->priv->name);
 
 	/* Setting the default stylus to be the first one */
-	g_assert (device->priv->styli);
+	if (device->priv->styli == NULL) {
+		g_warning ("No stylus defined for tablet '%s'", device->priv->name);
+		return;
+	}
 
 	stylus = device->priv->styli->data;
 	g_object_set (device, "last-stylus", stylus, NULL);
