From e7291a2bc67581d490464327cf412137caa69280 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sep 05 2008 16:50:40 +0000 Subject: fix an evo crash --- diff --git a/at-spi.spec b/at-spi.spec index 8c88036..62c9f5b 100644 --- a/at-spi.spec +++ b/at-spi.spec @@ -10,7 +10,7 @@ Summary: Assistive Technology Service Provider Interface Name: at-spi Version: 1.23.91 -Release: 2%{?dist} +Release: 3%{?dist} URL: http://developer.gnome.org/projects/gap/ Source0: http://download.gnome.org/sources/at-spi/1.23/%{name}-%{version}.tar.bz2 @@ -77,7 +77,7 @@ Python bindings allowing to use at-spi in python programs. %prep %setup -q %patch2 -p1 -b .spew -%patch3 -p0 -b .greeter-crash +%patch3 -p1 -b .greeter-crash %build @@ -124,6 +124,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Sep 5 2008 Matthias Clasen - 1.23.91-3 +- Fix an evo crash caused by the greeter crash fix + * Fri Sep 5 2008 Matthias Clasen - 1.23.91-2 - Fix a greeter crash diff --git a/liyuan-greeter-crash.patch b/liyuan-greeter-crash.patch index 5700837..fb54296 100644 --- a/liyuan-greeter-crash.patch +++ b/liyuan-greeter-crash.patch @@ -1,6 +1,7 @@ ---- 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 @@ +diff -up at-spi-1.23.91/atk-bridge/bridge.c.greeter-crash at-spi-1.23.91/atk-bridge/bridge.c +--- at-spi-1.23.91/atk-bridge/bridge.c.greeter-crash 2008-09-05 09:54:27.000000000 -0400 ++++ at-spi-1.23.91/atk-bridge/bridge.c 2008-09-05 12:38:34.000000000 -0400 +@@ -1101,7 +1101,7 @@ spi_atk_bridge_signal_listener (GSignalI CORBA_any any; CORBA_Object c_obj; char *sp = NULL; @@ -9,12 +10,12 @@ gint detail1 = 0, detail2 = 0; SpiAccessible *s_ao = NULL; #ifdef SPI_BRIDGE_DEBUG -@@ -1162,7 +1162,7 @@ +@@ -1162,7 +1162,7 @@ spi_atk_bridge_signal_listener (GSignalI ao = ATK_OBJECT (child); g_object_ref (ao); } - else -+ else if (strcmp (detail, "add") == 0) ++ else if (detail != NULL && strcmp (detail, "add") == 0) { ao = atk_object_ref_accessible_child (ATK_OBJECT (gobject), detail1);