Commit 9005b8e2 authored by Alexander Mikhaylenko's avatar Alexander Mikhaylenko

savestate-listbox-row: Null-check pixbuf when drawing

parent c829fad9
Pipeline #106866 passed with stages
in 13 minutes and 40 seconds
......@@ -115,6 +115,9 @@ private class Games.SavestateListBoxRow : Gtk.ListBoxRow {
style.render_background (cr, 0.0, 0.0, width, height);
style.render_frame (cr, 0.0, 0.0, width, height);
if (pixbuf == null)
return Gdk.EVENT_PROPAGATE;
cr.save ();
cr.scale (1.0 / scale_factor, 1.0 / scale_factor);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment