diff options
author | Bill Haneman <billh@src.gnome.org> | 2006-07-20 22:20:52 +0000 |
---|---|---|
committer | Bill Haneman <billh@src.gnome.org> | 2006-07-20 22:20:52 +0000 |
commit | 5b64969c595f5ed679ff8348a29863a38eded1c8 (patch) | |
tree | f49bb0dbd2a86c7f8ce5540efa14fbaab0fa2491 | |
parent | 04bf5aa81d1b9bdea987fd5eb1a4a879066b1ccc (diff) | |
download | atk-5b64969c595f5ed679ff8348a29863a38eded1c8.tar.gz |
Fixed AtkHyperlink prototype func and impl.ATK_1_12_1
-rw-r--r-- | atk/atkhyperlinkimpl.c | 5 | ||||
-rw-r--r-- | 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; }; |