aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
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 /libempathy-gtk
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 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-notify-manager.c3
-rw-r--r--libempathy-gtk/empathy-notify-manager.h6
2 files changed, 6 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-notify-manager.c b/libempathy-gtk/empathy-notify-manager.c
index 44f77937f..7954dd9c7 100644
--- a/libempathy-gtk/empathy-notify-manager.c
+++ b/libempathy-gtk/empathy-notify-manager.c
@@ -146,7 +146,8 @@ empathy_notify_manager_has_capability (EmpathyNotifyManager *self,
}
GdkPixbuf *
-empathy_misc_get_pixbuf_for_notification (EmpathyContact *contact,
+empathy_notify_manager_get_pixbuf_for_notification (EmpathyNotifyManager *self,
+ EmpathyContact *contact,
const char *icon_name)
{
GdkPixbuf *pixbuf = NULL;
diff --git a/libempathy-gtk/empathy-notify-manager.h b/libempathy-gtk/empathy-notify-manager.h
index d56e50852..15740468e 100644
--- a/libempathy-gtk/empathy-notify-manager.h
+++ b/libempathy-gtk/empathy-notify-manager.h
@@ -83,9 +83,11 @@ gboolean empathy_notify_manager_has_capability (EmpathyNotifyManager *self,
const gchar *capa);
gboolean empathy_notification_is_enabled (void);
-GdkPixbuf * empathy_misc_get_pixbuf_for_notification (EmpathyContact *contact,
- const char *icon_name);
+GdkPixbuf * empathy_notify_manager_get_pixbuf_for_notification (
+ EmpathyNotifyManager *self,
+ EmpathyContact *contact,
+ const char *icon_name);
G_END_DECLS