[at-spi2-atk] Correctly cast hyperlinks in GetURI
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-atk] Correctly cast hyperlinks in GetURI
- Date: Tue, 4 Sep 2012 21:00:10 +0000 (UTC)
commit 92589202caa0837905138416d62a79e84dfe366c
Author: Mike Gorse <mgorse suse com>
Date: Tue Sep 4 16:01:06 2012 -0500
Correctly cast hyperlinks in GetURI
https://bugzilla.gnome.org/show_bug.cgi?id=683182
atk-adaptor/adaptors/hyperlink-adaptor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/atk-adaptor/adaptors/hyperlink-adaptor.c b/atk-adaptor/adaptors/hyperlink-adaptor.c
index 746676d..05eedb9 100644
--- a/atk-adaptor/adaptors/hyperlink-adaptor.c
+++ b/atk-adaptor/adaptors/hyperlink-adaptor.c
@@ -42,7 +42,7 @@ get_hyperlink (void *user_data)
static dbus_bool_t
impl_get_NAnchors (DBusMessageIter * iter, void *user_data)
{
- AtkHyperlink *link = (AtkHyperlink *) user_data;
+ AtkHyperlink *link = get_hyperlink (user_data);
g_return_val_if_fail (ATK_IS_HYPERLINK (link), FALSE);
return droute_return_v_int32 (iter, atk_hyperlink_get_n_anchors (link));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]