Created attachment 4410 use-new-tooltip-api.patch Remove legacy code, do some cleanup and update the code to use GtkTooltip, using less lines than the current version.
thanks for the patch, looks good, but can you please indicate which gtk tooltip API one needs for that code? The plugin is supposed to also run with Xfce 4.4 and old GTK Versions, so I will still require the old code, I guess. From this point of view, your code might amke sense in two years when 95% of the Xfce systems are based on GTK versions with this tooltip API?
I'll rewrite it without removing that old code. I thought we have reached those 95% already, but never mind. There are bugs that are much older than 2 years ;-)
Sorry, that wasn't my intention. First, I'd simply like to know when this tooltip API became available, which version it is. Save your time for other reports, I have 2 years of bug reports to clean ;)
this api exists since 2.12: http://developer.gnome.org/gtk/2.24/GtkWidget.html#gtk-widget-set-tooltip-text 2.12 was release 5 years ago: http://mail.gnome.org/archives/gtk-devel-list/2007-September/msg00052.html So I simply applied your patch; thanks.