[gthumb] [navigation_window] use _gdk_pixbuf_scale_simple_safe
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] [navigation_window] use _gdk_pixbuf_scale_simple_safe
- Date: Thu, 4 Mar 2010 22:31:38 +0000 (UTC)
commit 0dd2f59715a69dfd863bf25aff6bb412a3a9ad10
Author: Paolo Bacchilega <paobac src gnome org>
Date: Thu Mar 4 23:28:23 2010 +0100
[navigation_window] use _gdk_pixbuf_scale_simple_safe
gthumb/gth-nav-window.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/gthumb/gth-nav-window.c b/gthumb/gth-nav-window.c
index 4ab80b3..62f417d 100644
--- a/gthumb/gth-nav-window.c
+++ b/gthumb/gth-nav-window.c
@@ -245,10 +245,11 @@ update_view (NavWindow *nav_win)
if (nav_win->pixbuf != NULL)
g_object_unref (nav_win->pixbuf);
- nav_win->pixbuf = gdk_pixbuf_scale_simple (image_pixbuf,
- popup_width,
- popup_height,
- GDK_INTERP_TILES);
+
+ nav_win->pixbuf = _gdk_pixbuf_scale_simple_safe (image_pixbuf,
+ popup_width,
+ popup_height,
+ GDK_INTERP_TILES);
/* The square. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]