From: JucaBlues Date: Tue, 27 Jan 2009 14:43:31 +0000 (+0000) Subject: proper resizing of remove color button X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cb4f4bff2c71bae196cb6023f0addb0c0e829797;p=inkscape.git proper resizing of remove color button --- diff --git a/src/dialogs/eek-preview.cpp b/src/dialogs/eek-preview.cpp index 0886782c2..b562c2af5 100644 --- a/src/dialogs/eek-preview.cpp +++ b/src/dialogs/eek-preview.cpp @@ -321,7 +321,7 @@ gboolean eek_preview_expose_event( GtkWidget* widget, GdkEventExpose* event ) &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);