input-device: Downgrade over-zealous warning to note

This warning is really harmless, we just discard the event anyway, let's
demote it to a CLUTTER_NOTE() so event backend implementers can see it.
This commit is contained in:
Damien Lespiau 2010-12-07 22:06:07 +00:00
parent f8fc194b3b
commit b0751d2342

View File

@ -515,8 +515,8 @@ _clutter_input_device_update (ClutterInputDevice *device)
stage = device->stage;
if (G_UNLIKELY (stage == NULL))
{
g_warning ("No stage defined for device '%s'",
clutter_input_device_get_device_name (device));
CLUTTER_NOTE (EVENT, "No stage defined for device '%s'",
clutter_input_device_get_device_name (device));
return NULL;
}