Re: AtkHyperlink question
- From: "Padraig O'Briain" <Padraig Obriain Sun COM>
- To: gtk-devel-list gnome org, jcf tpg com au
- Subject: Re: AtkHyperlink question
- Date: Mon, 11 Mar 2002 15:25:35 +0000 (GMT)
> Hi,
>
> I was going through ATK again and was just wondering about a few
> inconsistencies.
>
> 1. Should the return value from 'atk_hyperlink_get_uri' be a
> G_CONST_RETURN ghar* rather than ghar*.
>
It would work either way. The way it is requires the caller to call g_free() on
the returned value to avoid leaking it.
> 2. Should these two fucntion pointers declared in AtkObjectFactoryClass:
>
> AtkObject* (* create_accessible) (GObject *obj);
>
> GType (* get_accessible_type) (void);
>
> actually be
>
> AtkObject* (* create_accessible) (AtkObjectFactory *factory, GObject *obj);
>
> GType (* get_accessible_type) (AtkObjectFactory *factory);
>
It works this way event if it does seem inconsistent.
Padraig
> Jeff.
>
>
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]