path: log two errors as application bugs

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2014-06-12 11:48:13 +10:00
parent 7f577e8d49
commit d1f1563aab

View file

@ -264,7 +264,7 @@ libinput_path_add_device(struct libinput *libinput,
struct libinput_device *device;
if (libinput->interface_backend != &interface_backend) {
log_error("Mismatching backends. This is an application bug.\n");
log_bug_client("Mismatching backends.\n");
return NULL;
}
@ -301,7 +301,7 @@ libinput_path_remove_device(struct libinput_device *device)
struct path_device *dev;
if (libinput->interface_backend != &interface_backend) {
log_error("Mismatching backends. This is an application bug.\n");
log_bug_client("Mismatching backends.\n");
return;
}