Merge branch 'backports-for-4-16' into 'gtk-4-16'
gpu: Remove warning See merge request GNOME/gtk!7808
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user