From ff811719fa1fd178d9be7edd6b18fb04d0c3a0d3 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 30 Jan 2009 17:07:45 +0000 Subject: Add a convenience function to avoid hacks when getting the pixbuf from the icon name. svn path=/trunk/; revision=2288 --- src/empathy-status-icon.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/empathy-status-icon.c') diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c index 4c7964566..86a2c84fa 100644 --- a/src/empathy-status-icon.c +++ b/src/empathy-status-icon.c @@ -126,9 +126,8 @@ status_icon_update_notification (EmpathyStatusIcon *icon) } if (!pixbuf) { - /* we use INVALID here so we fall pack to 48px */ - pixbuf = empathy_pixbuf_from_icon_name (priv->event->icon_name, - GTK_ICON_SIZE_INVALID); + pixbuf = empathy_pixbuf_from_icon_name_sized + (priv->event->icon_name, 48); } priv->notification = notify_notification_new_with_status_icon -- cgit v1.2.3