diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 8e346050d..6d9412b37 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,11 @@ +2007-07-09 Matthias Clasen + + * tmpl/modules.sgml: Remove duplicate paragraph. + (#45786, Ruben Vermeersch) + + * tmpl/modules.sgml: Remove duplicate code from + an example. (#454785, Ruben Vermeersch) + Mon Jul 9 10:23:53 2007 Tim Janik * gobject/tmpl/gclosure.sgml: GClosure docu fixes from Guillaume diff --git a/docs/reference/glib/tmpl/modules.sgml b/docs/reference/glib/tmpl/modules.sgml index 50d602a9e..992ec3d0d 100644 --- a/docs/reference/glib/tmpl/modules.sgml +++ b/docs/reference/glib/tmpl/modules.sgml @@ -79,14 +79,6 @@ just_say_hello (const char *filename, GError **error) return FALSE; } - if (say_hello == NULL) - { - g_set_error (error, SAY_ERROR, SAY_ERROR_OPEN, "symbol say_hello is NULL"); - if (!g_module_close (module)) - g_warning ("%s: %s", filename, g_module_error ()); - return FALSE; - } - /* call our function in the module */ say_hello ("Hello world!"); @@ -196,9 +188,6 @@ Gets a symbol pointer from a module. Note that a valid symbol can be %NULL. - -Note that a valid symbol can be %NULL. - @module: a #GModule. @symbol_name: the name of the symbol to find.