Lines Matching refs:object_class
287 GObjectClass *object_class = G_OBJECT_CLASS (class);
291 object_class->constructor = base_object_constructor;
292 object_class->set_property = base_object_set_property;
293 object_class->get_property = base_object_get_property;
294 object_class->notify = base_object_notify;
296 g_object_class_override_property (object_class, BASE_PROP1, "prop1");
309 g_object_class_install_property (object_class, BASE_PROP2, inherited_spec2);
311 g_object_class_override_property (object_class, BASE_PROP3, "prop3");
320 g_object_class_install_property (object_class, BASE_PROP4, inherited_spec4);
385 GObjectClass *object_class = G_OBJECT_CLASS (class);
387 object_class->set_property = derived_object_set_property;
388 object_class->get_property = derived_object_get_property;
391 g_object_class_override_property (object_class, DERIVED_PROP3, "prop3");
394 g_object_class_override_property (object_class, DERIVED_PROP4, "prop4");
425 GObjectClass *object_class;
470 object_class = G_OBJECT_GET_CLASS (object);
472 g_assert (g_object_class_find_property (object_class, "prop1") == inherited_spec1);
473 g_assert (g_object_class_find_property (object_class, "prop2") == inherited_spec2);
474 g_assert (g_object_class_find_property (object_class, "prop3") == inherited_spec3);
475 g_assert (g_object_class_find_property (object_class, "prop4") == inherited_spec4);
479 properties = g_object_class_list_properties (object_class, &n_properties);