[krb5-auth-dialog] Use gtk_status_icon_set_tooltip_text



commit 27f584e90fb965aac0101dac23cd91e2304ee5c7
Author: Guido Günther <agx sigxcpu org>
Date:   Sat Mar 20 17:41:27 2010 +0100

    Use gtk_status_icon_set_tooltip_text
    
    instead of the deprecated gtk_status_icon_set_tooltip

 src/krb5-auth-applet.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/krb5-auth-applet.c b/src/krb5-auth-applet.c
index b3f8875..1d144e0 100644
--- a/src/krb5-auth-applet.c
+++ b/src/krb5-auth-applet.c
@@ -534,7 +534,7 @@ ka_applet_update_status(KaApplet* applet, krb5_timestamp expiry)
 	}
 
 	gtk_status_icon_set_from_icon_name (applet->priv->tray_icon, tray_icon);
-	gtk_status_icon_set_tooltip (applet->priv->tray_icon, tooltip_text);
+	gtk_status_icon_set_tooltip_text (applet->priv->tray_icon, tooltip_text);
 	g_free(tooltip_text);
 	return 0;
 }
@@ -787,7 +787,7 @@ ka_applet_create_tray_icon (KaApplet* applet)
 			  "popup-menu",
 			  G_CALLBACK(ka_tray_icon_on_menu), applet);
 	gtk_status_icon_set_from_icon_name (tray_icon, applet->priv->icons[exp_icon]);
-	gtk_status_icon_set_tooltip (tray_icon, PACKAGE);
+	gtk_status_icon_set_tooltip_text (tray_icon, PACKAGE);
 	gtk_status_icon_set_title (tray_icon, KA_NAME);
         applet->priv->tray_icon = tray_icon;
 	return TRUE;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]