From 5b64969c595f5ed679ff8348a29863a38eded1c8 Mon Sep 17 00:00:00 2001 From: Bill Haneman Date: Thu, 20 Jul 2006 22:20:52 +0000 Subject: [PATCH] Fixed AtkHyperlink prototype func and impl. --- atk/atkhyperlinkimpl.c | 5 +++-- atk/atkhyperlinkimpl.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/atk/atkhyperlinkimpl.c b/atk/atkhyperlinkimpl.c index b875f5e..73847e5 100644 --- a/atk/atkhyperlinkimpl.c +++ b/atk/atkhyperlinkimpl.c @@ -53,8 +53,8 @@ atk_hyperlink_impl_get_hyperlink (AtkHyperlinkImpl *obj) { AtkHyperlinkImplIface *iface; - g_return_if_fail (obj != NULL); - g_return_if_fail (ATK_IS_HYPERLINK_IMPL (obj)); + g_return_val_if_fail (obj != NULL, NULL); + g_return_val_if_fail (ATK_IS_HYPERLINK_IMPL (obj), NULL); iface = ATK_HYPERLINK_IMPL_GET_IFACE (obj); @@ -62,5 +62,6 @@ atk_hyperlink_impl_get_hyperlink (AtkHyperlinkImpl *obj) { (iface->get_hyperlink) (obj); } + return NULL; } diff --git a/atk/atkhyperlinkimpl.h b/atk/atkhyperlinkimpl.h index a91d1ed..b08a1d5 100644 --- a/atk/atkhyperlinkimpl.h +++ b/atk/atkhyperlinkimpl.h @@ -59,7 +59,7 @@ struct _AtkHyperlinkImplIface { GTypeInterface parent; - AtkHyperlink (* get_hyperlink) (AtkHyperlinkImpl *impl); + AtkHyperlink* (* get_hyperlink) (AtkHyperlinkImpl *impl); AtkFunction pad1; }; -- 2.11.4.GIT