[gtk+/a11y] gail: Fix compile warning
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/a11y] gail: Fix compile warning
- Date: Mon, 20 Jun 2011 12:25:18 +0000 (UTC)
commit e1149ff8e85b6bf9c507111ab52a8ad603e5b07b
Author: Benjamin Otte <otte redhat com>
Date: Mon Jun 20 13:57:50 2011 +0200
gail: Fix compile warning
gtk/a11y/gaillinkbutton.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/a11y/gaillinkbutton.c b/gtk/a11y/gaillinkbutton.c
index ef26107..8aaec2f 100644
--- a/gtk/a11y/gaillinkbutton.c
+++ b/gtk/a11y/gaillinkbutton.c
@@ -43,7 +43,7 @@ static void atk_action_interface_init (AtkActionIface *iface);
G_DEFINE_TYPE_WITH_CODE (GailLinkButtonLink, gail_link_button_link, ATK_TYPE_HYPERLINK,
G_IMPLEMENT_INTERFACE (ATK_TYPE_ACTION, atk_action_interface_init))
-static GailLinkButtonLink *
+static AtkHyperlink *
gail_link_button_link_new (GailLinkButton *button)
{
GailLinkButtonLink *link;
@@ -51,7 +51,7 @@ gail_link_button_link_new (GailLinkButton *button)
link = g_object_new (gail_link_button_link_get_type (), NULL);
link->button = button;
- return link;
+ return ATK_HYPERLINK (link);
}
static gchar *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]