G_PARAM_STATIC_*



hi,

I just found G_PARAM_STATIC_NAME, G_PARAM_STATIC_NICK, G_PARAM_STATIC_BLURB
flags. Does it mean that if I do:

g_param_spec_string("name", "name prop", "name for blabla",
  NULL, G_PARAM_READWRITE);

I can apply them to save a g_strdup? If so wouldn't it make send to have:

#define	G_PARAM_STATIC_DETAIL \
  (G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)


And finally G_PARAM_STATIC_NICK is not documented. I can send a patch.

Stefan



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