summaryrefslogtreecommitdiff
path: root/atspi/atspi-hyperlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'atspi/atspi-hyperlink.c')
-rw-r--r--atspi/atspi-hyperlink.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/atspi/atspi-hyperlink.c b/atspi/atspi-hyperlink.c
index c2f3d5b8..2397bba7 100644
--- a/atspi/atspi-hyperlink.c
+++ b/atspi/atspi-hyperlink.c
@@ -37,13 +37,11 @@ atspi_hyperlink_class_init (AtspiHyperlinkClass *klass)
}
AtspiHyperlink *
-atspi_hyperlink_new (AtspiApplication *app, const gchar *path)
+_atspi_hyperlink_new (AtspiApplication *app, const gchar *path)
{
AtspiHyperlink *hyperlink;
hyperlink = g_object_new (ATSPI_TYPE_HYPERLINK, NULL);
- g_return_val_if_fail (hyperlink != NULL, NULL);
-
hyperlink->parent.app = g_object_ref (app);
hyperlink->parent.path = g_strdup (path);