rpms/gail/devel system-log-crash.patch, NONE, 1.1 gail.spec, 1.66, 1.67

Matthias Clasen (mclasen) fedora-extras-commits at redhat.com
Sun Nov 11 05:48:55 UTC 2007


Author: mclasen

Update of /cvs/extras/rpms/gail/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3254

Modified Files:
	gail.spec 
Added Files:
	system-log-crash.patch 
Log Message:
Fix a gnome-system-log crash


system-log-crash.patch:

--- NEW FILE system-log-crash.patch ---
diff -up gail-1.20.1/gail/gailtreeview.c.system-log-crash gail-1.20.1/gail/gailtreeview.c
--- gail-1.20.1/gail/gailtreeview.c.system-log-crash	2007-11-11 00:38:34.000000000 -0500
+++ gail-1.20.1/gail/gailtreeview.c	2007-11-11 00:38:52.000000000 -0500
@@ -2284,9 +2284,7 @@ idle_expand_row (gpointer data)
 
   tree_model = gtk_tree_view_get_model(tree_view);
 
-  g_assert (GTK_IS_TREE_MODEL (tree_model));
-
-  if (!path || !gtk_tree_model_get_iter (tree_model, &iter, path))
+  if (!path || !tree_model || !gtk_tree_model_get_iter (tree_model, &iter, path))
     {
       GDK_THREADS_LEAVE ();
       return FALSE;


Index: gail.spec
===================================================================
RCS file: /cvs/extras/rpms/gail/devel/gail.spec,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- gail.spec	15 Oct 2007 18:16:32 -0000	1.66
+++ gail.spec	11 Nov 2007 05:48:18 -0000	1.67
@@ -5,9 +5,11 @@
 Summary: Accessibility implementation for GTK+ and GNOME libraries
 Name: gail
 Version: 1.20.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 URL: http://developer.gnome.org/projects/gap
 Source0: http://download.gnome.org/sources/gail/1.20/%{name}-%{version}.tar.bz2
+# http://bugzilla.gnome.org/show_bug.cgi?id=495799
+Patch0: system-log-crash.patch
 License: LGPLv2+
 Group: System Environment/Libraries
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -45,6 +47,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .system-log-crash
 
 %build
 %configure --disable-gtk-doc
@@ -82,6 +85,9 @@
 %{_datadir}/gtk-doc/html/*
 
 %changelog
+* Sun Nov 11 2007 Matthias Clasen <mclasen at redhat.com> - 1.20.1-2
+- Fix a crash in gnome-system-log (#357211)
+
 * Mon Oct 15 2007 Matthias Clasen <mclasen at redhat.com> - 1.20.1-1
 - Update to 1.20.1
 




More information about the fedora-extras-commits mailing list