diff --git a/gsk/gpu/gskgpunodeprocessor.c b/gsk/gpu/gskgpunodeprocessor.c index 49702a7762..da09322366 100644 --- a/gsk/gpu/gskgpunodeprocessor.c +++ b/gsk/gpu/gskgpunodeprocessor.c @@ -3206,8 +3206,7 @@ gsk_gpu_node_processor_repeat_tile (GskGpuNodeProcessor *self, - y * child_bounds->size.height)); if (!gsk_rect_intersection (&offset_rect, child_bounds, &clipped_child_bounds)) { - /* The math has gone wrong probably, someone should look at this. */ - g_warn_if_reached (); + /* rounding error hits again */ return; } diff --git a/gtk/gtkpicture.c b/gtk/gtkpicture.c index f025416f5f..4fdd8ab610 100644 --- a/gtk/gtkpicture.c +++ b/gtk/gtkpicture.c @@ -875,6 +875,8 @@ gtk_picture_set_paintable (GtkPicture *self, if (size_changed) gtk_widget_queue_resize (GTK_WIDGET (self)); + else + gtk_widget_queue_draw (GTK_WIDGET (self)); g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_PAINTABLE]);