rpms/at-spi/devel liyuan-greeter-crash.patch, NONE, 1.1 at-spi.spec, 1.94, 1.95

Matthias Clasen mclasen at fedoraproject.org
Fri Sep 5 14:07:54 UTC 2008


Author: mclasen

Update of /cvs/extras/rpms/at-spi/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9181

Modified Files:
	at-spi.spec 
Added Files:
	liyuan-greeter-crash.patch 
Log Message:
fix a greeter crash


liyuan-greeter-crash.patch:

--- NEW FILE liyuan-greeter-crash.patch ---
--- atk-bridge/bridge.c.orig	2008-09-05 15:37:54.046098231 +0800
+++ atk-bridge/bridge.c	2008-09-05 15:59:55.399017901 +0800
@@ -1101,7 +1101,7 @@
   CORBA_any any;
   CORBA_Object c_obj;
   char *sp = NULL;
-  AtkObject *ao;
+  AtkObject *ao = NULL;
   gint detail1 = 0, detail2 = 0;
   SpiAccessible *s_ao = NULL;
 #ifdef SPI_BRIDGE_DEBUG
@@ -1162,7 +1162,7 @@
           ao = ATK_OBJECT (child);
           g_object_ref (ao);
         }
-      else
+      else if (strcmp (detail, "add") == 0)
         {
           ao = atk_object_ref_accessible_child (ATK_OBJECT (gobject), 
                                                 detail1);


Index: at-spi.spec
===================================================================
RCS file: /cvs/extras/rpms/at-spi/devel/at-spi.spec,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -r1.94 -r1.95
--- at-spi.spec	2 Sep 2008 23:25:03 -0000	1.94
+++ at-spi.spec	5 Sep 2008 14:07:24 -0000	1.95
@@ -10,7 +10,7 @@
 Summary: Assistive Technology Service Provider Interface 
 Name: at-spi
 Version: 1.23.91
-Release: 1%{?dist}
+Release: 2%{?dist}
 URL: http://developer.gnome.org/projects/gap/
 Source0: http://download.gnome.org/sources/at-spi/1.23/%{name}-%{version}.tar.bz2
 
@@ -39,6 +39,8 @@
 BuildRequires: libXt-devel 
 
 Patch2: at-spi-silence-no-event-spew.patch
+# http://bugzilla.gnome.org/show_bug.cgi?id=548782
+Patch3: liyuan-greeter-crash.patch
 
 %description
 at-spi allows assistive technologies to access GTK-based
@@ -75,6 +77,7 @@
 %prep
 %setup -q
 %patch2 -p1 -b .spew
+%patch3 -p0 -b .greeter-crash
 
 
 %build
@@ -121,6 +124,9 @@
 
 
 %changelog
+* Fri Sep  5 2008 Matthias Clasen <mclasen at redhat.com> - 1.23.91-2
+- Fix a greeter crash
+
 * Tue Sep  2 2008 Matthias Clasen <mclasen at redhat.com> - 1.23.91-1
 - Update to 1.23.91
 




More information about the fedora-extras-commits mailing list