diff options
author | Marco Barisione <marco.barisione@collabora.co.uk> | 2013-07-30 23:08:34 +0800 |
---|---|---|
committer | Marco Barisione <marco.barisione@collabora.co.uk> | 2013-08-20 18:03:06 +0800 |
commit | a56fa2a95e93ad68ca08f336178b26baf3b3f29d (patch) | |
tree | 547ac5a682a4fc8c4f8281d1f1bb4e7a39ff8daa /libempathy-gtk/empathy-notify-manager.c | |
parent | 3abe4df5f32c37e968d0556c755b8387d9f1f771 (diff) | |
download | gsoc2013-empathy-a56fa2a95e93ad68ca08f336178b26baf3b3f29d.tar gsoc2013-empathy-a56fa2a95e93ad68ca08f336178b26baf3b3f29d.tar.gz gsoc2013-empathy-a56fa2a95e93ad68ca08f336178b26baf3b3f29d.tar.bz2 gsoc2013-empathy-a56fa2a95e93ad68ca08f336178b26baf3b3f29d.tar.lz gsoc2013-empathy-a56fa2a95e93ad68ca08f336178b26baf3b3f29d.tar.xz gsoc2013-empathy-a56fa2a95e93ad68ca08f336178b26baf3b3f29d.tar.zst gsoc2013-empathy-a56fa2a95e93ad68ca08f336178b26baf3b3f29d.zip |
pixbuf-utils: copy the generic pixbuf-related utily functions from Empathy
This commit also changes the licence of the moved code from GPL to LGPL.
See GOSSIP-RELICENSING.txt for details.
https://bugzilla.gnome.org/show_bug.cgi?id=699492
Diffstat (limited to 'libempathy-gtk/empathy-notify-manager.c')
-rw-r--r-- | libempathy-gtk/empathy-notify-manager.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-notify-manager.c b/libempathy-gtk/empathy-notify-manager.c index 033557e81..8ca97950e 100644 --- a/libempathy-gtk/empathy-notify-manager.c +++ b/libempathy-gtk/empathy-notify-manager.c @@ -21,6 +21,7 @@ #include "empathy-notify-manager.h" #include <libnotify/notify.h> +#include <tp-account-widgets/tpaw-pixbuf-utils.h> #include "empathy-gsettings.h" #include "empathy-ui-utils.h" @@ -174,7 +175,7 @@ empathy_notify_manager_get_pixbuf_for_notification (EmpathyNotifyManager *self, pixbuf = empathy_pixbuf_avatar_from_contact_scaled (contact, 48, 48); if (pixbuf == NULL) - pixbuf = empathy_pixbuf_from_icon_name_sized (icon_name, 48); + pixbuf = tpaw_pixbuf_from_icon_name_sized (icon_name, 48); return pixbuf; } |