Hi!I have a problem to add a property of type "GdkColor" to my widget. Setting the property using
color = (GdkColor *) g_value_get_pointer (value); gdk_color_free(self->privat->color_warning); self->privat->color_warning = gdk_color_copy (color); self->privat->color_warning->green, self->privat->color_warning->blue); seems to work but my code to get the property has issues: g_value_set_pointer (value, (gpointer) self->privat->color_warning);What am I doing wrong? I have searched a bit around but it is not documented quite well.
Regards, Johannes
Attachment:
pgpVOskrDayBH.pgp
Description: PGP signature