[gexiv2] Include gexiv2 in GNOME-PHOTOS



Hi,

I am Umang Jain and I am contributing to gnome-photos currently. I am assigned the bug: https://bugzilla.gnome.org/show_bug.cgi?id=759156

Metadata is lost when a image is edited and exported as new image in gnome-photos. I have to fix this.

I built and installed gexiv2 as per https://wiki.gnome.org/Projects/gexiv2/BuildingAndInstalling
 

But when I use any function, e.g. gexiv2_metadata_has_tag (self, tag) , it throws me error :

warning: passing argument 1 of ‘gexiv2_metadata_has_tag’ from incompatible pointer type [-Wincompatible-pointer-types]

Here, self is instance inherited from g_object (using subclassing). Do I need to change it and inherit from GEXIV2_TYPE_METADATA to get it working with gexiv2 functions ?

Consider me fairly new contributor. I just started. I also learnt subclassing a few days ago. So, please bear with me and try to keep it simple. Thanks.
--
Umang J.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]