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 15bb7e2..135ddc3 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 e0e5f4b..d65dfa5 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);