pidgin: 351069ce: gtk_widget_set_tooltip_text() is GTK+ >=...

datallah at pidgin.im datallah at pidgin.im
Fri Oct 24 00:25:39 EDT 2008


-----------------------------------------------------------------
Revision: 351069ce032cca102c0beecf9c1ad448295fce32
Ancestor: 60eb3945122f9f81bed98851da3567b10baf9450
Author: datallah at pidgin.im
Date: 2008-10-24T04:06:25
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/351069ce032cca102c0beecf9c1ad448295fce32

Modified files:
        pidgin/gtkstatusbox.c

ChangeLog: 

gtk_widget_set_tooltip_text() is GTK+ >= 2.12

-------------- next part --------------
============================================================
--- pidgin/gtkstatusbox.c	8670654f2f5353810da41022dfa466158d1cb86e
+++ pidgin/gtkstatusbox.c	156fbde8516ee4c75d1b6493adcbe95b3f4ed03f
@@ -397,9 +397,12 @@ setup_icon_box(PidginStatusBox *status_b
 	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))


More information about the Commits mailing list