[vlc-devel] commit: globalhotkeys : use new xcb-util API (>= 0.3.4) ( Rafaël Carré )

Rafaël Carré rafael.carre at gmail.com
Thu Oct 8 17:14:27 CEST 2009


Le 08/10/2009 10:42, Jean-Baptiste Kempf a écrit :
> On Wed, Oct 07, 2009 at 08:03:00PM +0200, git version control wrote :
>> +#ifdef XCB_KEYSYM_OLD_API /* as seen in Debian Lenny */
>>      const xcb_keycode_t key = xcb_key_symbols_get_keycode( p_symbols, sym );
>>      if( key == 0 )
>> +#else
>> +    const xcb_keycode_t *p_keys = xcb_key_symbols_get_keycode( p_symbols, sym );
>> +    if( !p_keys )
>>          return 0;
>> +#endif
>>  
>>      xcb_get_modifier_mapping_cookie_t r =
>>              xcb_get_modifier_mapping( p_connection );
> 
> This breaks for my compilation, 

"return 0;" must move after the #endif, please commit that

-- 
Rafaël Carré

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20091008/b05af353/attachment.sig>


More information about the vlc-devel mailing list