summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
355bc49)
If the framebuffer allocation fails, it still gets passed to
render_to_pixbuf. This causes an assertion failure.
{
unsigned frame = gtk_spin_button_get_value_as_int(spin);
{
unsigned frame = gtk_spin_button_get_value_as_int(spin);
render_to_pixbuf(image, framebuf, frame);
gdk_window_invalidate_rect(canvas->window, NULL, FALSE);
}
render_to_pixbuf(image, framebuf, frame);
gdk_window_invalidate_rect(canvas->window, NULL, FALSE);
}