Re: [Vala] More problems with vala-dbus-binding-tool



Here it is.

El 23/02/14 14:10, Luca Bruno escribió:
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




--
Nos leemos
                         RASTER    (Linux user #228804)
raster rastersoft com              http://www.rastersoft.com

Attachment: org-freedesktop-consolekit.vala
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]