[packagekit] PackageKit with --enable-conary

Richard Hughes hughsient at gmail.com
Wed Sep 17 01:04:55 PDT 2008


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.





More information about the PackageKit mailing list