On Saturday 16 July 2005 16:43, Iago Rubio wrote:

> g_param_spec_object  with GType GString?
>
> GParamSpec* g_param_spec_object             (const gchar *name,
>                                              const gchar *nick,
>                                              const gchar *blurb,
>                                              GType object_type,
>                                              GParamFlags flags);

GString is not an object.

G_TYPE_GSTRING is a boxed type, so it would be g_param_spec_boxed().

However, usually one would just use normal string properties like those 
created with g_param_spec_string(). You can always store those strings 
internally in a GString if you want to; it's all up to your _get_property() 
and _set_property() functions.

Cheers
 -Tim


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to