Fix some typos
authorMatthias Clasen <matthiasc@src.gnome.org>
Sun, 1 Mar 2009 06:59:31 +0000 (06:59 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sun, 1 Mar 2009 06:59:31 +0000 (06:59 +0000)
svn path=/trunk/; revision=7927

docs/reference/ChangeLog
docs/reference/gobject/tut_gobject.xml

index 07be8ed..f15287c 100644 (file)
@@ -1,3 +1,9 @@
+2009-03-01  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 573128 – A couple of typos in GObject documentation
+
+       * gobject/tut_gobject.xml: Fix some typos. Reported by Dimitri Vorbiev
+
 2009-02-17  Matthias Clasen  <mclasen@redhat.com>
 
        * === Released 2.19.8 ===
index 8282800..75ad2ea 100644 (file)
@@ -571,7 +571,7 @@ maman_bar_get_property (GObject    *object,
 static void
 maman_bar_class_init (MamanBarClass *klass)
 {
-  GObjectClass *gobject_class = G_OBJECT_CLASS (g_class);
+  GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
   GParamSpec *pspec;
 
   gobject_class-&gt;set_property = maman_bar_set_property;
@@ -583,7 +583,7 @@ maman_bar_class_init (MamanBarClass *klass)
                                "no-name-set" /* default value */,
                                G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE);
   g_object_class_install_property (gobject_class,
-                                   PROP_MAMAN_NAME_NAME,
+                                   PROP_MAMAN_NAME,
                                    pspec);
 
   pspec = g_param_spec_uchar ("papa-number",