[glib] docs: Fix typo in G_DEFINE_DYNAMIC_TYPE_EXTENDED example.



commit ed1f10bc1c149ac6c317b80b3ba46fda6b545a4e
Author: Krzesimir Nowak <qdlacz gmail com>
Date:   Thu May 3 15:00:14 2012 +0200

    docs: Fix typo in G_DEFINE_DYNAMIC_TYPE_EXTENDED example.

 gobject/gtypemodule.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gobject/gtypemodule.h b/gobject/gtypemodule.h
index 4e02520..f2d524b 100644
--- a/gobject/gtypemodule.h
+++ b/gobject/gtypemodule.h
@@ -160,7 +160,7 @@ struct _GTypeModuleClass
  *   };
  *   gtk_gadget_type_id = g_type_module_register_type (type_module,
  *                                                     GTK_TYPE_THING,
- *                                                     GtkGadget,
+ *                                                     "GtkGadget",
  *                                                     &g_define_type_info,
  *                                                     (GTypeFlags) flags);
  *   {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]