2.x API and GDateTime



Hi,

I made a move from grilo 1.19 to 2.4.

So far I like the new API.

But I have a question regarding the new GDateTime based properties of the GrlMedia classes.

If I set or get a GDateTime object to/from a grl_media object e.g. grl_media_set_creation_date / grl_media_get_creation_date,

then I suspect that the GDateTime reference counters are untouched?

What means if I store a GDateTime with grl_media_set_creation_date I must not call g_date_time_unref after?
And also if I get a GDateTime pointer from grl_media_get_creation_date the ref counter is  also not increased.?

Is that correct?

Thx,
Roland




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