GNOME Bugzilla – Bug 565552
gtk_status_icon_set_tooltip has been deprecated
Last modified: 2008-12-25 13:08:14 UTC
Decision has recently been made to release GNOME 2.26 with GTK+ 2.16, this version deprecates gtk_status_icon_set_tooltip. The problem is gnome-power-manager builds with -DGTK_DISABLE_DEPRECATED and -Werror: cc1: warnings being treated as errors gpm-tray-icon.c: In function 'gpm_tray_icon_set_tooltip': gpm-tray-icon.c:176: error: implicit declaration of function 'gtk_status_icon_set_tooltip' make[3]: *** [gpm-tray-icon.o] Error 1
Created attachment 125267 [details] [review] conditionnaly use new API This patch will use gtk_status_icon_set_tooltip_text with latest GTK+, avoiding the deprecated function.
Please apply, thanks. Richard.
2008-12-25 Frederic Peters <fpeters@0d.be> * src/gpm-tray-icon.c: (gpm_tray_icon_set_tooltip): Conditionally use the new GTK+ API to set the tooltip on the tray icon. Fixes #565552