X-Git-Url: http://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/4f0369e24277442e70d0edaab02b022bc7a2b6f5..a8ea1a669f332b0ed29c6271896476f59f357533:/src/treefuncs.c diff --git a/src/treefuncs.c b/src/treefuncs.c index 100e1f4..6c2ca40 100644 --- a/src/treefuncs.c +++ b/src/treefuncs.c @@ -98,6 +98,7 @@ enum { QUARK_ptype_STEAL, QUARK_bonobo_object_class, QUARK_bonobo_object_class_STEAL, + QUARK_glade_xml, QUARK_chunk_size, QUARK_chunk_size_STEAL, QUARK_interfaces, @@ -168,6 +169,7 @@ enum { QUARK_interface_STEAL, QUARK_vtype, QUARK_vtype_STEAL, + QUARK_glade_widget, QUARK_destructor_unref, QUARK_destructor, QUARK_destructor_STEAL, @@ -176,6 +178,7 @@ enum { QUARK_initializer, QUARK_initializer_STEAL, QUARK_initializer_line, + QUARK_initializer_simple, QUARK_etype, QUARK_etype_STEAL, QUARK_prefix, @@ -202,6 +205,7 @@ ensure_quarks (void) g_hash_table_insert (quark_ht, "ptype:steal", GINT_TO_POINTER (QUARK_ptype_STEAL)); g_hash_table_insert (quark_ht, "bonobo_object_class", GINT_TO_POINTER (QUARK_bonobo_object_class)); g_hash_table_insert (quark_ht, "bonobo_object_class:steal", GINT_TO_POINTER (QUARK_bonobo_object_class_STEAL)); + g_hash_table_insert (quark_ht, "glade_xml", GINT_TO_POINTER (QUARK_glade_xml)); g_hash_table_insert (quark_ht, "chunk_size", GINT_TO_POINTER (QUARK_chunk_size)); g_hash_table_insert (quark_ht, "chunk_size:steal", GINT_TO_POINTER (QUARK_chunk_size_STEAL)); g_hash_table_insert (quark_ht, "interfaces", GINT_TO_POINTER (QUARK_interfaces)); @@ -272,6 +276,7 @@ ensure_quarks (void) g_hash_table_insert (quark_ht, "interface:steal", GINT_TO_POINTER (QUARK_interface_STEAL)); g_hash_table_insert (quark_ht, "vtype", GINT_TO_POINTER (QUARK_vtype)); g_hash_table_insert (quark_ht, "vtype:steal", GINT_TO_POINTER (QUARK_vtype_STEAL)); + g_hash_table_insert (quark_ht, "glade_widget", GINT_TO_POINTER (QUARK_glade_widget)); g_hash_table_insert (quark_ht, "destructor_unref", GINT_TO_POINTER (QUARK_destructor_unref)); g_hash_table_insert (quark_ht, "destructor", GINT_TO_POINTER (QUARK_destructor)); g_hash_table_insert (quark_ht, "destructor:steal", GINT_TO_POINTER (QUARK_destructor_STEAL)); @@ -280,6 +285,7 @@ ensure_quarks (void) g_hash_table_insert (quark_ht, "initializer", GINT_TO_POINTER (QUARK_initializer)); g_hash_table_insert (quark_ht, "initializer:steal", GINT_TO_POINTER (QUARK_initializer_STEAL)); g_hash_table_insert (quark_ht, "initializer_line", GINT_TO_POINTER (QUARK_initializer_line)); + g_hash_table_insert (quark_ht, "initializer_simple", GINT_TO_POINTER (QUARK_initializer_simple)); g_hash_table_insert (quark_ht, "etype", GINT_TO_POINTER (QUARK_etype)); g_hash_table_insert (quark_ht, "etype:steal", GINT_TO_POINTER (QUARK_etype_STEAL)); g_hash_table_insert (quark_ht, "prefix", GINT_TO_POINTER (QUARK_prefix)); @@ -350,6 +356,7 @@ copy_class (Class * self) new->otype = g_strdup (self->otype); new->ptype = g_strdup (self->ptype); new->bonobo_object_class = g_strdup (self->bonobo_object_class); + new->glade_xml = self->glade_xml; new->chunk_size = g_strdup (self->chunk_size); new->interfaces = g_list_copy (self->interfaces); COPY_LIST_VALS(new->interfaces, g_strdup); new->nodes = node_list_copy (self->nodes); @@ -506,6 +513,7 @@ copy_variable (Variable * self) new->type = VARIABLE_NODE; new->scope = self->scope; new->vtype = copy_type (self->vtype); + new->glade_widget = self->glade_widget; new->id = g_strdup (self->id); new->line_no = self->line_no; new->destructor_unref = self->destructor_unref; @@ -514,6 +522,7 @@ copy_variable (Variable * self) new->destructor_simple = self->destructor_simple; new->initializer = g_strdup (self->initializer); new->initializer_line = self->initializer_line; + new->initializer_simple = self->initializer_simple; return new; } @@ -897,6 +906,11 @@ setv_class (Class * self, va_list __ap) self->bonobo_object_class = bonobo_object_class; break; } + case QUARK_glade_xml: { + gboolean glade_xml = va_arg (__ap, gboolean); + self->glade_xml = glade_xml; + break; + } case QUARK_chunk_size: { char * chunk_size = va_arg (__ap, char *); char * __old_value = self->chunk_size; @@ -1627,6 +1641,11 @@ setv_variable (Variable * self, va_list __ap) self->vtype = vtype; break; } + case QUARK_glade_widget: { + gboolean glade_widget = va_arg (__ap, gboolean); + self->glade_widget = glade_widget; + break; + } case QUARK_id: { char * id = va_arg (__ap, char *); char * __old_value = self->id; @@ -1688,6 +1707,11 @@ setv_variable (Variable * self, va_list __ap) self->initializer_line = initializer_line; break; } + case QUARK_initializer_simple: { + gboolean initializer_simple = va_arg (__ap, gboolean); + self->initializer_simple = initializer_simple; + break; + } default: g_warning ("Argument named 'Variable::%s' does not exist", arg); break;