mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-11 13:10:07 +00:00
Merge branch 'wip/otte/for-main' into 'main'
various fixes See merge request GNOME/gtk!5756
This commit is contained in:
commit
515f39f161
@ -731,6 +731,8 @@ gtk_list_base_set_adjustment (GtkListBase *self,
|
||||
|
||||
if (adjustment == NULL)
|
||||
adjustment = gtk_adjustment_new (0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
|
||||
else
|
||||
gtk_adjustment_configure (adjustment, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
|
||||
g_object_ref_sink (adjustment);
|
||||
|
||||
gtk_list_base_clear_adjustment (self, orientation);
|
||||
|
@ -5951,6 +5951,9 @@ gtk_widget_reposition_after (GtkWidget *widget,
|
||||
prev_parent = priv->parent;
|
||||
prev_previous = priv->prev_sibling;
|
||||
|
||||
if (priv->parent == parent && previous_sibling == prev_previous)
|
||||
return;
|
||||
|
||||
if (priv->parent != NULL && priv->parent != parent)
|
||||
{
|
||||
g_warning ("Can't set new parent %s %p on widget %s %p, "
|
||||
|
Loading…
Reference in New Issue
Block a user