[gtk+] gail: Fix compile warning



commit 5449ec0a30f41f8576c6beab94a70f3deeabcbe0
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]