[packagekit] PackageKit with --enable-conary
zodman
zodman at gmail.com
Wed Sep 17 01:17:16 PDT 2008
Not im search on egg-obj-list.h and egg-obj-list.c and the code is fine ...
same pointers returns and
but it failed on compile ?
Richard Hughes escribió:
> On Tue, 2008-09-16 at 15:18 -0500, zodman wrote:
>> In file included from egg-obj-list.c:30:
>> egg-obj-list.h:86: warning: type qualifiers ignored on function return
>> type egg-obj-list.c:440: warning: type qualifiers ignored on function
>> return type
>
> This is the code:
>
> /**
> * egg_obj_list_index:
> * @list: a valid #EggObjList instance
> * @index: the element to return
> *
> * Gets an object from the list
> **/
> const gpointer
> egg_obj_list_index (const EggObjList *list, guint index)
> {
> gpointer obj;
>
> g_return_val_if_fail (EGG_IS_OBJ_LIST (list), NULL);
>
> obj = g_ptr_array_index (list->priv->array, index);
> return (const gpointer) obj;
> }
>
> Do you see any problems with that?
>
> Richard.
>
>
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit
More information about the PackageKit
mailing list