# HG changeset patch # User Daniel Atallah # Date 1224821185 0 # Node ID 1163d93da1090e5f7aa5985817a1023e17102b33 # Parent ce1086a69ef29642f8ae994bb2c770b25724e386 gtk_widget_set_tooltip_text() is GTK+ >= 2.12 diff -r ce1086a69ef2 -r 1163d93da109 pidgin/gtkstatusbox.c --- a/pidgin/gtkstatusbox.c Wed Oct 22 15:23:17 2008 +0000 +++ b/pidgin/gtkstatusbox.c Fri Oct 24 04:06:25 2008 +0000 @@ -397,9 +397,12 @@ status_box->icon_box = gtk_event_box_new(); gtk_widget_set_parent(status_box->icon_box, GTK_WIDGET(status_box)); gtk_widget_show(status_box->icon_box); + +#if GTK_CHECK_VERSION(2,12,0) gtk_widget_set_tooltip_text(status_box->icon_box, status_box->account ? _("Click to change your buddyicon for this account.") : _("Click to change your buddyicon for all accounts.")); +#endif if (status_box->account && !purple_account_get_bool(status_box->account, "use-global-buddyicon", TRUE))