Home | History | Annotate | Download | only in gobject

Lines Matching full:pspec

165   GParamSpec *pspec;
169 pspec = construct_properties->pspec;
173 g_assert (G_IS_PARAM_SPEC_OVERRIDE (pspec));
174 g_assert (pspec->param_id == BASE_PROP1);
175 g_assert (strcmp (g_param_spec_get_name (pspec), "prop1") == 0);
176 g_assert (g_param_spec_get_redirect_target (pspec) == iface_spec1);
180 g_assert (strcmp (g_param_spec_get_nick (pspec), "Prop1") == 0);
181 g_assert (strcmp (g_param_spec_get_blurb (pspec), "Property 1") == 0);
188 g_param_value_set_default (pspec, &value1);
193 g_assert (g_param_value_validate (pspec, &value1));
195 g_assert (!g_param_value_validate (pspec, &value1));
200 g_assert (g_param_values_cmp (pspec, &value1, &value2) < 0);
201 g_assert (g_param_values_cmp (pspec, &value2, &value1) > 0);
215 GParamSpec *pspec)
222 g_assert (pspec == inherited_spec1);
226 g_assert (pspec == inherited_spec2);
236 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
245 GParamSpec *pspec)
252 g_assert (pspec == inherited_spec1);
256 g_assert (pspec == inherited_spec2);
266 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
273 GParamSpec *pspec)
278 g_assert (pspec == inherited_spec1 ||
279 pspec == inherited_spec2 ||
280 pspec == inherited_spec3 ||
281 pspec == inherited_spec4);
338 GParamSpec *pspec)
345 g_assert (pspec == inherited_spec3);
349 g_assert (pspec == inherited_spec4);
353 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
362 GParamSpec *pspec)
369 g_assert (pspec == inherited_spec3);
373 g_assert (pspec == inherited_spec4);
377 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);