On 02/22/13 15:53, Anthony Liguori wrote:
> Gerd Hoffmann <kra...@redhat.com> writes:
> 
>>   Hi,
>>
>>> +#if !GTK_CHECK_VERSION(2, 18, 0)
>>> +#define gtk_widget_get_realized(widget) GTK_WIDGET_REALIZED(widget)
>>> +#endif
>>
>> Not working:
>>
>>   CC    ui/gtk.o
>> cc1: warnings being treated as errors
>> /home/kraxel/projects/qemu/ui/gtk.c: In function ‘gd_draw_event’:
>> /home/kraxel/projects/qemu/ui/gtk.c:355: error: implicit declaration of
>> function ‘gtk_widget_get_realized’
>> /home/kraxel/projects/qemu/ui/gtk.c:355: error: nested extern
>> declaration of ‘gtk_widget_get_realized’
>>
>> Oh, and I just saw there is more, GDK_KEY_* seems to be new too:
> 
> GDK_KEY_ is most definitely not new.  Is this RHEL5?

No, RHEL-6.

cheers,
  Gerd



Reply via email to