summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7592a18)
raw | patch | inline | side by side (parent: 7592a18)
author | JucaBlues <JucaBlues@users.sourceforge.net> | |
Tue, 27 Jan 2009 14:43:31 +0000 (14:43 +0000) | ||
committer | JucaBlues <JucaBlues@users.sourceforge.net> | |
Tue, 27 Jan 2009 14:43:31 +0000 (14:43 +0000) |
src/dialogs/eek-preview.cpp | patch | blob | history |
index 0886782c2387c950d9fb32beff78ad72748d61e1..b562c2af574bc21035cd02a165aa4660e229a864 100644 (file)
&bytesRead,
&bytesWritten,
&error);
- GdkPixbuf* pixbuf = gdk_pixbuf_new_from_file_at_size(localFilename, w, h, &error);
+ GdkPixbuf* pixbuf = gdk_pixbuf_new_from_file_at_scale(localFilename, w, h, FALSE, &error);
gdk_draw_pixbuf(drawable, 0, pixbuf, 0, 0, 0, 0, w, h, GDK_RGB_DITHER_NONE, 0, 0);
g_free(localFilename);
g_free(filepath);