changeset 24289:1163d93da109

gtk_widget_set_tooltip_text() is GTK+ >= 2.12
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 24 Oct 2008 04:06:25 +0000
parents ce1086a69ef2
children 15c30a63f124
files pidgin/gtkstatusbox.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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))