36 G_DEFINE_ABSTRACT_TYPE (
EvFormField, ev_form_field, G_TYPE_OBJECT)
46 field->changed =
FALSE;
47 field->is_read_only =
FALSE;
55 g_object_unref (field->
page);
60 (* G_OBJECT_CLASS (ev_form_field_parent_class)->finalize) (
object);
66 GObjectClass *object_class = G_OBJECT_CLASS (klass);
76 if (field_text->
text) {
77 g_free (field_text->
text);
78 field_text->
text = NULL;
81 (* G_OBJECT_CLASS (ev_form_field_text_parent_class)->finalize) (
object);
92 GObjectClass *object_class = G_OBJECT_CLASS (klass);
117 if (field_choice->
text) {
118 g_free (field_choice->
text);
119 field_choice->
text = NULL;
122 (* G_OBJECT_CLASS (ev_form_field_choice_parent_class)->finalize) (
object);
133 GObjectClass *object_class = G_OBJECT_CLASS (klass);
154 g_return_val_if_fail (
id >= 0, NULL);
171 g_return_val_if_fail (
id >= 0, NULL);
188 g_return_val_if_fail (
id >= 0, NULL);
204 g_return_val_if_fail (
id >= 0, NULL);