/soc/2013/ankitkv/gobjectification: c8cb7b1bcb14: Fix gtk-doc er...
Ankit Vani
a at nevitus.org
Sun Oct 20 07:07:08 EDT 2013
Changeset: c8cb7b1bcb14276b3535d9e0367968df398289f4
Author: Ankit Vani <a at nevitus.org>
Date: 2013-10-20 16:36 +0530
Branch: soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/c8cb7b1bcb14
Description:
Fix gtk-doc errors
diffstat:
doc/reference/libpurple/plugin_i18n.xml | 14 +++++++-------
doc/reference/libpurple/tut_c_plugins.xml | 4 ++--
2 files changed, 9 insertions(+), 9 deletions(-)
diffs (65 lines):
diff --git a/doc/reference/libpurple/plugin_i18n.xml b/doc/reference/libpurple/plugin_i18n.xml
--- a/doc/reference/libpurple/plugin_i18n.xml
+++ b/doc/reference/libpurple/plugin_i18n.xml
@@ -21,9 +21,9 @@
- In your autogen.sh, add the following after your other utility checks:
@code
-(intltoolize --version) < /dev/null > /dev/null 2>&1 || {
+(intltoolize --version) < /dev/null > /dev/null 2>&1 || {
echo;
- echo "You must have intltool installed to compile <YOUR PLUGIN NAME>";
+ echo "You must have intltool installed to compile <YOUR PLUGIN NAME>";
echo;
exit;
}
@@ -36,7 +36,7 @@ intltoolize --force --copy
@code
AC_PROG_INTLTOOL
-GETTEXT_PACKAGE=<YOUR PLUGIN NAME>
+GETTEXT_PACKAGE=<YOUR PLUGIN NAME>
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Define the gettext package to be used])
@@ -68,7 +68,7 @@ AM_GLIB_GNU_GETTEXT
'config.h' file for you plugin. Note that 'config.h' could be whatever
you told autohead to use with AM_CONFIG_HEADER. Also add the following:
@code
-#include <glib/gi18n-lib.h>
+#include <glib/gi18n-lib.h>
@endcode
Make sure that this include is after you include of your 'config.h',
otherwise you will break your build. Also note that if you wish to
@@ -88,9 +88,9 @@ AM_GLIB_GNU_GETTEXT
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
#endif /* ENABLE_NLS */
- info.name = _("<YOUR PLUGIN NAME>");
- info.summary = _("<YOUR PLUGIN SUMMARY>");
- info.description = _("<YOUR PLUGIN DESCRIPTION>");
+ info.name = _("<YOUR PLUGIN NAME>");
+ info.summary = _("<YOUR PLUGIN SUMMARY>");
+ info.description = _("<YOUR PLUGIN DESCRIPTION>");
@endcode
Note that the _() is intentional, and that it is telling intltool that
this string should be translated. There is also N_() which says that a
diff --git a/doc/reference/libpurple/tut_c_plugins.xml b/doc/reference/libpurple/tut_c_plugins.xml
--- a/doc/reference/libpurple/tut_c_plugins.xml
+++ b/doc/reference/libpurple/tut_c_plugins.xml
@@ -28,13 +28,13 @@
different?
@code
-#include <purple.h>
+#include <purple.h>
static PurplePluginInfo *
plugin_query(GError **error)
{
const gchar * const authors[] = {
- "Author Name <e at mail>",
+ "Author Name <e at mail>",
NULL
};
More information about the Commits
mailing list