Re: #50213 - No accessor for GObject::property_specs
- From: Darin Adler <darin eazel com>
- To: Owen Taylor <otaylor redhat com>
- Cc: <gtk-devel-list gnome org>, <timj gtk org>
- Subject: Re: #50213 - No accessor for GObject::property_specs
- Date: Mon, 26 Mar 2001 14:02:40 -0800
on 3/26/01 1:55 PM, Owen Taylor at otaylor redhat com wrote:
> + result = g_new (GParamSpec *, oclass->n_property_specs);
> + memcpy (result, oclass->property_specs, oclass->n_property_specs *
> sizeof(GParamSpec *));
g_memdup seems better for cases like this.
-- Darin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]