* cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
for completeness. Bug #163111.
+
+ * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
+ * libspi/util.c, registryd/registry-main.c:
+ Fix guint/char* casts.
+ Patch from chpe, bug #333883.
2006-06-12 Bill Haneman <bill.haneman@sun.com>
* Boston, MA 02111-1307, USA.
*/
+#include "config.h"
+
#include <string.h>
#include <stdio.h>
#include <unistd.h>
canonical_display_name = g_strdup (display_env);
display_p = strrchr (canonical_display_name, ':');
screen_p = strrchr (canonical_display_name, '.');
- if (screen_p && display_p && ((guint) screen_p > (guint) display_p))
+ if (screen_p && display_p && (screen_p > display_p))
{
*screen_p = '\0';
}
canonical_display_name = g_strdup (display_env);
display_p = strrchr (canonical_display_name, ':');
screen_p = strrchr (canonical_display_name, '.');
- if (screen_p && display_p && ((guint) screen_p > (guint) display_p))
+ if (screen_p && display_p && (screen_p > display_p))
{
*screen_p = '\0';
}
static char *spi_atk_bridge_null_string = "";
+Accessibility_Role spi_accessible_role_from_atk_role (AtkRole role);
+
Accessibility_Role
spi_role_from_atk_role (AtkRole role)
{
display_name = g_strdup (gdk_display_get_name (gdk_display_get_default ()));
cp = strrchr (display_name, '.');
dp = strrchr (display_name, ':');
- if (cp && dp && ((guint) cp > (guint) dp)) *cp = '\0';
+ if (cp && dp && (cp > dp)) *cp = '\0';
}
reg_env = bonobo_activation_registration_env_set ( reg_env, "AT_SPI_DISPLAY",