diff --git a/gtk/gtkfilterlistmodel.c b/gtk/gtkfilterlistmodel.c index 1804b7d12a..3e0e4d7850 100644 --- a/gtk/gtkfilterlistmodel.c +++ b/gtk/gtkfilterlistmodel.c @@ -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]);