static void property_item_double_class_init (PropertyItemDoubleClass * klass) {
	property_item_double_parent_class = g_type_class_peek_parent (klass);
	PROPERTY_ITEM_CLASS (klass)->finalize = property_item_double_finalize;
	g_type_class_add_private (klass, sizeof (PropertyItemDoublePrivate));
	PROPERTY_ITEM_CLASS (klass)->create_widget = property_item_double_real_create_widget;
	PROPERTY_ITEM_CLASS (klass)->read_widget = property_item_double_real_read_widget;
}
Beispiel #2
0
static void property_item_class_init (PropertyItemClass * klass) {
	property_item_parent_class = g_type_class_peek_parent (klass);
	PROPERTY_ITEM_CLASS (klass)->finalize = property_item_finalize;
	PROPERTY_ITEM_CLASS (klass)->create_widget = property_item_real_create_widget;
	PROPERTY_ITEM_CLASS (klass)->read_widget = property_item_real_read_widget;
}
Beispiel #3
0
static void property_item_string_finalize (PropertyItem* obj) {
	PropertyItemString * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PROPERTY_ITEM_STRING, PropertyItemString);
	_g_free0 (self->data);
	PROPERTY_ITEM_CLASS (property_item_string_parent_class)->finalize (obj);
}
static void property_item_double_finalize (PropertyItem* obj) {
	PropertyItemDouble * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PROPERTY_ITEM_DOUBLE, PropertyItemDouble);
	PROPERTY_ITEM_CLASS (property_item_double_parent_class)->finalize (obj);
}
Beispiel #5
0
static void property_item_double_finalize (PropertyItem* obj) {
	PropertyItemDouble * self;
	self = PROPERTY_ITEM_DOUBLE (obj);
	PROPERTY_ITEM_CLASS (property_item_double_parent_class)->finalize (obj);
}
Beispiel #6
0
static void property_item_int_finalize (PropertyItem* obj) {
	PropertyItemInt * self;
	self = PROPERTY_ITEM_INT (obj);
	PROPERTY_ITEM_CLASS (property_item_int_parent_class)->finalize (obj);
}