[at-spi2-core] Void functions shouldn't try to return values
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core] Void functions shouldn't try to return values
- Date: Wed, 20 May 2015 02:54:19 +0000 (UTC)
commit 942b1b3f28aa95bc8579967b878dc9516b10ea80
Author: Mike Gorse <mgorse suse com>
Date: Tue May 19 21:58:17 2015 -0500
Void functions shouldn't try to return values
https://bugzilla.gnome.org/show_bug.cgi?id=749330
registryd/deviceeventcontroller.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/registryd/deviceeventcontroller.c b/registryd/deviceeventcontroller.c
index 8279a1d..d3b8e89 100644
--- a/registryd/deviceeventcontroller.c
+++ b/registryd/deviceeventcontroller.c
@@ -204,7 +204,7 @@ spi_dec_plat_emit_modifier_event (SpiDEController *controller, guint prev_mask,
SpiDEControllerClass *klass;
klass = SPI_DEVICE_EVENT_CONTROLLER_GET_CLASS (controller);
if (klass->plat.emit_modifier_event)
- return klass->plat.emit_modifier_event (controller, prev_mask, current_mask);
+ klass->plat.emit_modifier_event (controller, prev_mask, current_mask);
}
static void
@@ -216,7 +216,7 @@ spi_dec_plat_generate_mouse_event (SpiDEController *controller,
SpiDEControllerClass *klass;
klass = SPI_DEVICE_EVENT_CONTROLLER_GET_CLASS (controller);
if (klass->plat.generate_mouse_event)
- return klass->plat.generate_mouse_event (controller, x, y, eventName);
+ klass->plat.generate_mouse_event (controller, x, y, eventName);
}
DBusMessage *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]