diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-11-12 20:53:57 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-11-13 19:37:18 +0800 |
commit | ab3c9ccb3c468f03ddc790bb2e5a84845684bfc5 (patch) | |
tree | 53512f7f6d9f009b81d36327e8cf3f9fb7dea34e /libempathy-gtk | |
parent | 31ffe0cd7670a9c31402443587dbe7d12f8561e0 (diff) | |
download | gsoc2013-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.c | 3 | ||||
-rw-r--r-- | libempathy-gtk/empathy-notify-manager.h | 6 |
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 |