Merge branch 'cherry-pick-f0f7613a' into 'gtk-4-10'

Merge branch 'zbrown/pending' into 'main'

See merge request GNOME/gtk!6214
This commit is contained in:
Benjamin Otte 2023-07-26 05:33:04 +00:00
commit bfb069ea5a

View File

@ -180,9 +180,6 @@ gtk_filter_list_model_run_filter (GtkFilterListModel *self,
gtk_bitset_remove_range_closed (self->pending, 0, pos - 1);
else
g_clear_pointer (&self->pending, gtk_bitset_unref);
g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_PENDING]);
return;
}
static void
@ -237,6 +234,7 @@ gtk_filter_list_model_run_filter_cb (gpointer data)
gtk_filter_list_model_stop_filtering (self);
gtk_filter_list_model_emit_items_changed_for_changes (self, old);
g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_PENDING]);
return G_SOURCE_CONTINUE;
}
@ -857,6 +855,7 @@ gtk_filter_list_model_set_incremental (GtkFilterListModel *self,
gtk_filter_list_model_stop_filtering (self);
gtk_filter_list_model_emit_items_changed_for_changes (self, old);
g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_PENDING]);
}
g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_INCREMENTAL]);