+2007-07-08 Johan Dahlin <jdahlin@async.com.br>
+
+ * gtk/gtkbuilderparser.c (parse_signal): Parse last_modification_time
+ attribute in <signal> tag
+
2007-07-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkbuilderprivate.h:
+2007-07-08 Johan Dahlin <jdahlin@async.com.br>
+
+ * gtk/tmpl/gtkbuilder.sgml: Mention last_modification_time
+
2007-07-07 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkbuilder.sgml: Document context and
<!ELEMENT signal EMPTY >
<!ELEMENT child (object|ANY*) >
-<!ATTLIST interface domain #IMPLIED >
-<!ATTLIST object id #REQUIRED
- class #IMPLIED
- type-func #IMPLIED
- constructor #IMPLIED >
-<!ATTLIST property name #REQUIRED
- translatable #IMPLIED
- comments #IMPLIED
- context #IMPLIED >
-<!ATTLIST signal name #REQUIRED
- handler #REQUIRED
- after #IMPLIED
- swapped #IMPLIED
- object #IMPLIED >
-<!ATTLIST child type #IMPLIED
- internal-child #IMPLIED >
+<!ATTLIST interface domain #IMPLIED >
+<!ATTLIST object id #REQUIRED
+ class #IMPLIED
+ type-func #IMPLIED
+ constructor #IMPLIED >
+<!ATTLIST property name #REQUIRED
+ translatable #IMPLIED
+ comments #IMPLIED
+ context #IMPLIED >
+<!ATTLIST signal name #REQUIRED
+ handler #REQUIRED
+ after #IMPLIED
+ swapped #IMPLIED
+ object #IMPLIED
+ last_modification_time #IMPLIED >
+<!ATTLIST child type #IMPLIED
+ internal-child #IMPLIED >
]]></programlisting>
</para>
<para>
to gtk_builder_connect_signals_full(). The remaining attributes,
"after", "swapped" and "object", have the same meaning as the
corresponding parameters of the g_signal_connect_object() or
-g_signal_connect_data() functions.
+g_signal_connect_data() functions. A "last_modification_time" attribute
+is also allowed, but it does not have a meaning to the builder.
</para>
<para>
Sometimes it is necessary to refer to widgets which have implicitly
}
else if (strcmp (names[i], "object") == 0)
object = g_strdup (values[i]);
+ else if (strcmp (names[i], "last_modification_time") == 0)
+ /* parse but ignore */
+ ;
else
{
error_invalid_attribute (data, element_name, names[i], error);