Sorry - I spoke too soon. This does not fix all the problems, only some of them (gnome-terminal works again, but firefox doesn't). Also, there are a number of other similar errors in the code, for which I have included another patch. I am actively trying to track this down, as it is very annoying.
Sorry - I spoke too soon. This does not fix all the problems, only some of them (gnome-terminal works again, but firefox doesn't). Also, there are a number of other similar errors in the code, for which I have included another patch. I am actively trying to track this down, as it is very annoying.
--- at-spi- 1.7.6.orig/ cspi/bonobo/ cspi-bonobo. c 1.7.6/cspi/ bonobo/ cspi-bonobo. c display_ name = g_strdup (display_env); display_ name, ':'); display_ name, '.'); 1.7.6.orig/ registryd/ registry- main.c 1.7.6/registryd /registry- main.c get_name (gdk_display_ get_default ()));
+++ at-spi-
@@ -100,7 +100,7 @@
canonical_
display_p = strrchr (canonical_
screen_p = strrchr (canonical_
- if (screen_p && display_p && ((guint) screen_p > (guint) display_p))
+ if (screen_p && display_p && ((gulong) screen_p > (gulong) display_p))
{
*screen_p = '\0';
}
--- at-spi-
+++ at-spi-
@@ -56,7 +56,7 @@
display_name = g_strdup (gdk_display_
cp = strrchr (display_name, '.');
dp = strrchr (display_name, ':');
- if (cp && dp && ((guint) cp > (guint) dp)) *cp = '\0';
+ if (cp && dp && ((gulong) cp > (gulong) dp)) *cp = '\0';
}
reg_env = bonobo_ activation_ registration_ env_set ( reg_env, "AT_SPI_DISPLAY",