On Fri, May 31, 2013 at 09:39:16PM +0200, David Suárez wrote:
> > ibusfactory.c: In function 'ibus_factory_service_method_call':
> > ibusfactory.c:294:52: error: format not a string literal and no format 
> > arguments [-Werror=format-security]
> > cc1: some warnings being treated as errors
The code:

g_dbus_method_invocation_return_error (invocation,
                                       G_DBUS_ERROR,
                                       G_DBUS_ERROR_FAILED,
                                       error_message);

Docs say that the 4th parameter is "printf()-style format".

-- 
WBR, wRAR

Attachment: signature.asc
Description: Digital signature

Reply via email to