rhythmbox r5985 - in trunk: . widgets
- From: jmatthew svn gnome org
- To: svn-commits-list gnome org
- Subject: rhythmbox r5985 - in trunk: . widgets
- Date: Thu, 16 Oct 2008 11:35:44 +0000 (UTC)
Author: jmatthew
Date: Thu Oct 16 11:35:43 2008
New Revision: 5985
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=5985&view=rev
Log:
2008-10-16 Jonathan Matthew <jonathan d14n org>
* widgets/rb-entry-view.c: (rb_entry_view_dispose):
Remove the model from the tree view, avoiding deletion events for each
cell when a11y is enabled; mostly fixes shutdown time. From #419383.
Modified:
trunk/ChangeLog
trunk/widgets/rb-entry-view.c
Modified: trunk/widgets/rb-entry-view.c
==============================================================================
--- trunk/widgets/rb-entry-view.c (original)
+++ trunk/widgets/rb-entry-view.c Thu Oct 16 11:35:43 2008
@@ -589,6 +589,12 @@
}
if (view->priv->model != NULL) {
+ /* remove the model from the treeview so
+ * atk-bridge doesn't have to emit deletion events
+ * for each cell in the view.
+ */
+ gtk_tree_view_set_model (GTK_TREE_VIEW (view->priv->treeview), NULL);
+
g_object_unref (view->priv->model);
view->priv->model = NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]