From e42d05e3514c55e828e4eea0d6ebcf8d968a79b4 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sat, 1 May 2010 02:31:02 +0000 Subject: [PATCH] Fixed compilation with 2.10 <= Gtk+ < 2.18 --- src/phone.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/phone.c b/src/phone.c index ef93758..90d1f19 100644 --- a/src/phone.c +++ b/src/phone.c @@ -165,7 +165,9 @@ Phone * phone_new(char const * device, unsigned int baudrate, int retry) #if GTK_CHECK_VERSION(2, 10, 0) phone->sy_icon = gtk_status_icon_new_from_icon_name( "stock_landline-phone"); +# if GTK_CHECK_VERSION(2, 18, 0) gtk_status_icon_set_title(phone->sy_icon, _("Phone")); +# endif #endif phone->sy_level = NULL; /* check errors */