rpms/evolution/F-7 evolution-2.10.3-fix-ETreeTableAdapter-crash.patch, NONE, 1.1 evolution.spec, 1.269, 1.270

Daniel Williams (dcbw) fedora-extras-commits at redhat.com
Thu Nov 1 20:42:07 UTC 2007


Author: dcbw

Update of /cvs/pkgs/rpms/evolution/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10682

Modified Files:
	evolution.spec 
Added Files:
	evolution-2.10.3-fix-ETreeTableAdapter-crash.patch 
Log Message:
* Wed Oct 31 2007 Dan Williams <dcbw at redhat.com> - 2.10.3-6.fc7
- Backport fix for GNOME bug #239441


evolution-2.10.3-fix-ETreeTableAdapter-crash.patch:

--- NEW FILE evolution-2.10.3-fix-ETreeTableAdapter-crash.patch ---
--- trunk/widgets/table/e-tree-table-adapter.c	2007/08/07 09:35:42	33964
+++ trunk/widgets/table/e-tree-table-adapter.c	2007/08/24 09:10:55	34090
@@ -80,6 +80,8 @@
 	int          node_removed_id;
 	int          node_request_collapse_id;
 	int          sort_info_changed_id;
+
+	guint        resort_idle_id;
 };
 
 static void etta_sort_info_changed (ETableSortInfo *sort_info, ETreeTableAdapter *etta);
@@ -498,6 +500,11 @@
 {
 	ETreeTableAdapter *etta = E_TREE_TABLE_ADAPTER (object);
 
+	if (etta->priv->resort_idle_id) {
+		g_source_remove (etta->priv->resort_idle_id);
+		etta->priv->resort_idle_id = 0;
+	}
+
 	if (etta->priv->root) {
 		kill_gnode(etta->priv->root, etta);
 		etta->priv->root = NULL;
@@ -728,6 +735,8 @@
 	etta->priv->node_inserted_id         = 0;
 	etta->priv->node_removed_id          = 0;
 	etta->priv->node_request_collapse_id = 0;
+
+	etta->priv->resort_idle_id           = 0;
 }
 
 static void
@@ -746,6 +755,7 @@
 resort_model (ETreeTableAdapter *etta)
 {
 	etta_sort_info_changed (NULL, etta);
+	etta->priv->resort_idle_id = 0;
 	return FALSE;
 }
 
@@ -758,7 +768,8 @@
 	/* FIXME: Really it shouldnt be required. But a lot of thread
 	 * which were supposed to be present in the list is way below
 	 */
-	g_idle_add (resort_model, etta);
+	if (!etta->priv->resort_idle_id)
+		etta->priv->resort_idle_id = g_idle_add ((GSourceFunc) resort_model, etta);
 }
 
 static void


Index: evolution.spec
===================================================================
RCS file: /cvs/pkgs/rpms/evolution/F-7/evolution.spec,v
retrieving revision 1.269
retrieving revision 1.270
diff -u -r1.269 -r1.270
--- evolution.spec	30 Aug 2007 04:09:21 -0000	1.269
+++ evolution.spec	1 Nov 2007 20:41:33 -0000	1.270
@@ -47,7 +47,7 @@
 
 Name: evolution
 Version: 2.10.3
-Release: 5%{?dist}
+Release: 6%{?dist}
 License: GPL
 Group: Applications/Productivity
 Summary: GNOME's next-generation groupware suite
@@ -173,6 +173,9 @@
 # GNOME bug #380534
 Patch55: evolution-2.10.3-version-checks.patch
 
+# GNOME bug #239441
+Patch56: evolution-2.10.3-fix-ETreeTableAdapter-crash.patch
+
 ## Dependencies ###
 
 Requires(post): GConf2
@@ -330,6 +333,7 @@
 %patch53 -p1 -b .check-uri-before-strcmp
 %patch54 -p1 -b .send-recv-dialog
 %patch55 -p1 -b .version-checks
+%patch56 -p1 -b .ETreeTableAdapter-idle-crash
 
 mkdir -p krb5-fakeprefix/include
 mkdir -p krb5-fakeprefix/lib
@@ -751,6 +755,9 @@
 %{_libdir}/evolution/%{evo_major}/libmenus.so
 
 %changelog
+* Wed Oct 31 2007 Dan Williams <dcbw at redhat.com> - 2.10.3-6.fc7
+- Backport fix for GNOME bug #239441
+
 * Thu Aug 30 2007 Matthew Barnes <mbarnes at redhat.com> - 2.10.3-5.fc7
 - Revise patch for GNOME bug #417999 to fix GNOME bug #447591
   (Automatic Contacts combo boxes don't work).




More information about the fedora-extras-commits mailing list