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



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



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