Re: [Vala] More problems with vala-dbus-binding-tool
- From: Luca Bruno <lethalman88 gmail com>
- To: rastersoft <raster rastersoft com>
- Cc: Vala List <vala-list gnome org>
- Subject: Re: [Vala] More problems with vala-dbus-binding-tool
- Date: Sun, 23 Feb 2014 14:10:05 +0100
Paste the generated vapi.
On Sun, Feb 23, 2014 at 1:16 PM, rastersoft <raster rastersoft com> wrote:
Hi again:
I fixed the problem in the last message: I forgot to add --gdbus. Now I
have a problem with the C code: when I extract the interfaces with for
"org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager" (using
org.freedesktop.DBus.Introspectable.Introspect), I compile it with Vala
and receive this message:
/home/raster/workspace/autovala/install/src/dbus_
generated/org.freedesktop.ConsoleKit/org/freedesktop/
ConsoleKit/Manager/org-freedesktop-consolekit.c:
In function '_dbus_org_freedesktop_console_kit_manager_sync_open_session_with_parameters':
/home/raster/workspace/autovala/install/src/dbus_
generated/org.freedesktop.ConsoleKit/org/freedesktop/
ConsoleKit/Manager/org-freedesktop-consolekit.c:3107:54:
error: 'parameters' redeclared as different kind of symbol
orgfreedesktopConsoleKitManagerSyncParameterStruct* parameters = NULL;
/home/raster/workspace/autovala/install/src/dbus_
generated/org.freedesktop.ConsoleKit/org/freedesktop/
ConsoleKit/Manager/org-freedesktop-consolekit.c:3104:143: note: previous
definition of 'parameters' was here
static void _dbus_org_freedesktop_console_kit_manager_sync_open_session_with_parameters
(orgfreedesktopConsoleKitManagerSync* self, GVariant* parameters,
GDBusMethodInvocation* invocation) {
Any idea?
Thanks.
--
Nos leemos
RASTER (Linux user #228804)
raster rastersoft com http://www.rastersoft.com
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list
--
www.debian.org - The Universal Operating System
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]