aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-01-12 00:05:07 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-01-12 00:05:07 +0800
commit16ed932ab391d318fbfd1ecf042573b91f6ecfb2 (patch)
tree61c64a55b3dee7116d54acc1c35eab902009498f /addressbook
parent0859d42faed775ce440ff18ed86e150b3f904424 (diff)
downloadgsoc2013-evolution-16ed932ab391d318fbfd1ecf042573b91f6ecfb2.tar
gsoc2013-evolution-16ed932ab391d318fbfd1ecf042573b91f6ecfb2.tar.gz
gsoc2013-evolution-16ed932ab391d318fbfd1ecf042573b91f6ecfb2.tar.bz2
gsoc2013-evolution-16ed932ab391d318fbfd1ecf042573b91f6ecfb2.tar.lz
gsoc2013-evolution-16ed932ab391d318fbfd1ecf042573b91f6ecfb2.tar.xz
gsoc2013-evolution-16ed932ab391d318fbfd1ecf042573b91f6ecfb2.tar.zst
gsoc2013-evolution-16ed932ab391d318fbfd1ecf042573b91f6ecfb2.zip
** Fix for bug #488213
2008-01-11 Milan Crha <mcrha@redhat.com> ** Fix for bug #488213 * e-util/e-icon-factory.h: (e_icon_factory_pixbuf_scale): * e-util/e-icon-factory.c: (e_icon_factory_pixbuf_scale): New global function for pixbuf scaling which speeds up scaling when HAVE_LIBGNOMEUI_GNOME_THUMBNAIL_H. * addressbook/gui/contact-editor/e-contact-editor.c: (extract_simple_field): * mail/em-icon-stream.c: (emis_fit): * mail/em-format-html-display.c: (efhd_attachment_button): * e-util/e-icon-factory.c: (load_icon): * widgets/misc/e-spinner.c: (scale_to_size): * widgets/misc/e-image-chooser.c: (set_image_from_data): * widgets/misc/e-attachment-bar.c: (e_attachment_bar_create_attachment_cache), (update): Use global function e_icon_factory_pixbuf_scale for scaling pixbufs. svn path=/trunk/; revision=34800
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 7179531ad1..4bd801ef74 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,10 @@
+2008-01-11 Milan Crha <mcrha@redhat.com>
+
+ ** Fix for bug #488213
+
+ * gui/contact-editor/e-contact-editor.c: (extract_simple_field):
+ Use global function e_icon_factory_pixbuf_scale for scaling pixbufs.
+
2008-01-10 Milan Crha <mcrha@redhat.com>
** Fix for bug #448441
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index 3972889d6c..6b033015a7 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -2293,7 +2293,7 @@ extract_simple_field (EContactEditor *editor, GtkWidget *widget, gint field_id)
height = 96;
}
- new = gdk_pixbuf_scale_simple (pixbuf, width, height, GDK_INTERP_BILINEAR);
+ new = e_icon_factory_pixbuf_scale (pixbuf, width, height);
if (new) {
GdkPixbufFormat *format = gdk_pixbuf_loader_get_format (loader);
gchar *format_name = gdk_pixbuf_format_get_name (format);