aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-ui-utils.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-11-11 23:27:58 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-11-11 23:27:58 +0800
commitb3909bd20099b02b3f9d4a3ba0cc4cfd477152e5 (patch)
treebc2b3bd1a21645c33c1a800df1552d1af6be1e40 /libempathy-gtk/empathy-ui-utils.c
parentc6b2c7532181d69001c97edeb6e0b39d76298f76 (diff)
downloadgsoc2013-empathy-b3909bd20099b02b3f9d4a3ba0cc4cfd477152e5.tar
gsoc2013-empathy-b3909bd20099b02b3f9d4a3ba0cc4cfd477152e5.tar.gz
gsoc2013-empathy-b3909bd20099b02b3f9d4a3ba0cc4cfd477152e5.tar.bz2
gsoc2013-empathy-b3909bd20099b02b3f9d4a3ba0cc4cfd477152e5.tar.lz
gsoc2013-empathy-b3909bd20099b02b3f9d4a3ba0cc4cfd477152e5.tar.xz
gsoc2013-empathy-b3909bd20099b02b3f9d4a3ba0cc4cfd477152e5.tar.zst
gsoc2013-empathy-b3909bd20099b02b3f9d4a3ba0cc4cfd477152e5.zip
Add empathy_pixbuf_from_data_and_mime instead of breaking API.
svn path=/trunk/; revision=1706
Diffstat (limited to 'libempathy-gtk/empathy-ui-utils.c')
-rw-r--r--libempathy-gtk/empathy-ui-utils.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c
index 533c39171..c7e70da34 100644
--- a/libempathy-gtk/empathy-ui-utils.c
+++ b/libempathy-gtk/empathy-ui-utils.c
@@ -245,9 +245,16 @@ empathy_icon_name_for_contact (EmpathyContact *contact)
}
GdkPixbuf *
-empathy_pixbuf_from_data (gchar *data,
- gsize data_size,
- gchar **mime_type)
+empathy_pixbuf_from_data (gchar *data,
+ gsize data_size)
+{
+ return empathy_pixbuf_from_data_and_mime (data, data_size, NULL);
+}
+
+GdkPixbuf *
+empathy_pixbuf_from_data_and_mime (gchar *data,
+ gsize data_size,
+ gchar **mime_type)
{
GdkPixbufLoader *loader;
GdkPixbufFormat *format;