Re: gtk3 xfce-panel-macros bug? ‘GdkEventClient’

Matthew Brush mbrush at codebrainz.ca
Wed May 3 17:12:05 CEST 2017


On 2017-05-03 07:32 AM, Dani wrote:
> Hello:
>
> When I try compile xfce4-timer-plugin(port to gtk3) Iget the following
> error:
>
> [...]
> /usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:286:22:
> error: unknown type name ‘GdkEventClient’
> [...]

When you get an error like that, it's best to go look in the relevant 
documentation[0] to figure out what's up. Since it shows up in the old 
documentation[1] but not the current documentation, and given the error 
above, it's safe to say it has been removed.

You need to figure out what it was used for and replace it with 
something equivalent if it's needed or remove it if not. This is what 
porting means.

Regards,
Matthew Brush

[0]: https://developer.gnome.org/gdk3/stable/gdk3-Event-Structures.html
[1]: 
https://developer.gnome.org/gdk2/stable/gdk2-Event-Structures.html#GdkEventClient


More information about the Xfce4-dev mailing list