Fix an example. (#164269, Sebastian Bacher)
authorMatthias Clasen <mclasen@redhat.com>
Mon, 17 Jan 2005 03:16:29 +0000 (03:16 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 17 Jan 2005 03:16:29 +0000 (03:16 +0000)
2005-01-16  Matthias Clasen  <mclasen@redhat.com>

* gobject/tmpl/enumerations_flags.sgml: Fix an
example.  (#164269, Sebastian Bacher)

2

docs/reference/ChangeLog
docs/reference/gobject/tmpl/enumerations_flags.sgml

index 15bb7e2739e87e6d43b3029d94719e305ba4f460..135ddc37a4e79d85d89fcf5d3cb9e13bc2f16940 100644 (file)
@@ -1,3 +1,8 @@
+2005-01-16  Matthias Clasen  <mclasen@redhat.com>
+
+       * gobject/tmpl/enumerations_flags.sgml: Fix an
+       example.  (#164269, Sebastian Bacher)
+       
 2005-01-07  Matthias Clasen  <mclasen@redhat.com>
 
        * === Released 2.6.1 ===
index e0e5f4b8c1c682811d844d85aa8631c7cf929cc5..d65dfa5d890ef18844e6aeaeff4fd5cb11f35f06 100644 (file)
@@ -254,7 +254,8 @@ my_enum_complete_type_info (GTypePlugin     *plugin,
 {
   static const GEnumValue values[] = {
     { MY_ENUM_FOO, "MY_ENUM_FOO", "foo" },
-    { MY_ENUM_BAR, "MY_ENUM_BAR", "bar" }
+    { MY_ENUM_BAR, "MY_ENUM_BAR", "bar" },
+    { 0, NULL, NULL }
   };  
    
   g_enum_complete_type_info (type, info, values);