mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Replace deprecated widget_render_icon function in print-check
This commit is contained in:
parent
8a2d6c4bcb
commit
4d61403037
@ -1936,9 +1936,8 @@ draw_picture(GtkPrintContext *context, check_item_t *data)
|
||||
{
|
||||
g_warning("Filename '%s' cannot be read or understood.",
|
||||
data->filename);
|
||||
pixbuf = gtk_widget_render_icon(GTK_WIDGET(image),
|
||||
GTK_STOCK_MISSING_IMAGE,
|
||||
-1, NULL);
|
||||
pixbuf = gtk_widget_render_icon_pixbuf (GTK_WIDGET(image),
|
||||
GTK_STOCK_MISSING_IMAGE, -1);
|
||||
}
|
||||
pix_w = gdk_pixbuf_get_width(pixbuf);
|
||||
pix_h = gdk_pixbuf_get_height(pixbuf);
|
||||
|
Loading…
Reference in New Issue
Block a user