From aff06ab1d12403abd4b6572797d6497c8a46e1fe Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 9 Jul 2007 17:54:38 +0000 Subject: [PATCH] Remove duplicate paragraph. (#45786, Ruben Vermeersch) 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) svn path=/trunk/; revision=5612 --- docs/reference/ChangeLog | 8 ++++++++ docs/reference/glib/tmpl/modules.sgml | 11 ----------- 2 files changed, 8 insertions(+), 11 deletions(-) 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.