up version number to 1.3.8, interface age 0, binary age 0.

Tue Sep 18 22:57:33 2001  Tim Janik  <timj@gtk.org>

        * configure.in (GLIB_MICRO_VERSION): up version number to 1.3.8,
        interface age 0, binary age 0.

        * NEWS: updates.

Tue Sep 18 23:09:02 2001  Tim Janik  <timj@gtk.org>

        * gparam.[hc]: rename *nick and *blurb fields to catch
        direct accesses in third party code.
        provide g_param_get_nick(), g_param_get_blurb() and
        g_param_get_name() accessors.
This commit is contained in:
Tim Janik
2001-09-18 23:38:06 +00:00
committed by Tim Janik
parent a9b48f3327
commit d5a724df11
14 changed files with 123 additions and 11 deletions

View File

@@ -63,13 +63,13 @@ struct _GParamSpec
GTypeInstance g_type_instance;
gchar *name;
gchar *nick;
gchar *blurb;
GParamFlags flags;
GType value_type;
GType owner_type; /* class using this property */
/*< private >*/
gchar *_nick;
gchar *_blurb;
GData *qdata;
guint ref_count;
guint param_id; /* sort-criteria */
@@ -126,6 +126,9 @@ gboolean g_param_value_convert (GParamSpec *dest_value_spec,
gint g_param_values_cmp (GParamSpec *pspec,
const GValue *value1,
const GValue *value2);
G_CONST_RETURN gchar* g_param_get_name (GParamSpec *pspec);
G_CONST_RETURN gchar* g_param_get_nick (GParamSpec *pspec);
G_CONST_RETURN gchar* g_param_get_blurb (GParamSpec *pspec);
void g_value_set_param (GValue *value,
GParamSpec *param);
GParamSpec* g_value_get_param (const GValue *value);