[Vala] Inheriting from GLib.Action
- From: Edward Hennessy <ehennes sbcglobal net>
- To: vala-list gnome org
- Subject: [Vala] Inheriting from GLib.Action
- Date: Sun, 23 Jul 2017 19:39:04 -0700
When implementing the interface Glib.Action, the implementing class requires both a property enabled and a
function get_enabled().The emitted C code encounters a conflict with both implemented:
TestAction.c:145:17: error: redefinition of ‘working_test_action_real_get_enabled’
static gboolean working_test_action_real_get_enabled (GAction* base) {
^
TestAction.c:72:17: note: previous definition of ‘working_test_action_real_get_enabled’ was here
static gboolean working_test_action_real_get_enabled (GAction* base) {
^
Similar errors exist for the other properties and functions.
Anyone have suggestions for a workaround?
Ed
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]