aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-status-icon.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-12 20:53:57 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-13 19:37:18 +0800
commitab3c9ccb3c468f03ddc790bb2e5a84845684bfc5 (patch)
tree53512f7f6d9f009b81d36327e8cf3f9fb7dea34e /src/empathy-status-icon.c
parent31ffe0cd7670a9c31402443587dbe7d12f8561e0 (diff)
downloadgsoc2013-empathy-ab3c9ccb3c468f03ddc790bb2e5a84845684bfc5.tar
gsoc2013-empathy-ab3c9ccb3c468f03ddc790bb2e5a84845684bfc5.tar.gz
gsoc2013-empathy-ab3c9ccb3c468f03ddc790bb2e5a84845684bfc5.tar.bz2
gsoc2013-empathy-ab3c9ccb3c468f03ddc790bb2e5a84845684bfc5.tar.lz
gsoc2013-empathy-ab3c9ccb3c468f03ddc790bb2e5a84845684bfc5.tar.xz
gsoc2013-empathy-ab3c9ccb3c468f03ddc790bb2e5a84845684bfc5.tar.zst
gsoc2013-empathy-ab3c9ccb3c468f03ddc790bb2e5a84845684bfc5.zip
change empathy_misc_get_pixbuf_for_notification to empathy_notify_manager_get_pixbuf_for_notification
Making this function a method of EmpathyNotifyManager would allow us to tweak the size of the icon depending on the notifications server as suggested in bug 588054.
Diffstat (limited to 'src/empathy-status-icon.c')
-rw-r--r--src/empathy-status-icon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c
index aaf827dc3..76c549ebb 100644
--- a/src/empathy-status-icon.c
+++ b/src/empathy-status-icon.c
@@ -187,7 +187,8 @@ status_icon_update_notification (EmpathyStatusIcon *icon)
G_CALLBACK (status_icon_notification_closed_cb), icon);
}
- pixbuf = empathy_misc_get_pixbuf_for_notification (priv->event->contact,
+ pixbuf = empathy_notify_manager_get_pixbuf_for_notification (
+ priv->notify_mgr, priv->event->contact,
priv->event->icon_name);
if (pixbuf != NULL) {