SF.net SVN: geany-plugins:[1832] trunk/geany-plugins/geanygendoc/src

colombanw at users.sourceforge.net colombanw at xxxxx
Thu Jan 13 19:38:06 UTC 2011


Revision: 1832
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1832&view=rev
Author:   colombanw
Date:     2011-01-13 19:38:06 +0000 (Thu, 13 Jan 2011)

Log Message:
-----------
GeanyGenDoc: Make ggd_plugin_get_doctype() more private

ggd_plugin_get_doctype() is not used outside of ggd-plugin.c, no need
to have it in the headers.

Modified Paths:
--------------
    trunk/geany-plugins/geanygendoc/src/ggd-plugin.c
    trunk/geany-plugins/geanygendoc/src/ggd-plugin.h

Modified: trunk/geany-plugins/geanygendoc/src/ggd-plugin.c
===================================================================
--- trunk/geany-plugins/geanygendoc/src/ggd-plugin.c	2011-01-13 10:11:30 UTC (rev 1831)
+++ trunk/geany-plugins/geanygendoc/src/ggd-plugin.c	2011-01-13 19:38:06 UTC (rev 1832)
@@ -92,7 +92,7 @@
 
 /* Gets an element of GGD_OPT_doctype, falling back to GGD_OPT_doctype[0]
  * (default) if the requested element is not set */
-const gchar *
+static const gchar *
 ggd_plugin_get_doctype (filetype_id id)
 {
   const gchar *doctype;

Modified: trunk/geany-plugins/geanygendoc/src/ggd-plugin.h
===================================================================
--- trunk/geany-plugins/geanygendoc/src/ggd-plugin.h	2011-01-13 10:11:30 UTC (rev 1831)
+++ trunk/geany-plugins/geanygendoc/src/ggd-plugin.h	2011-01-13 19:38:06 UTC (rev 1832)
@@ -59,9 +59,6 @@
 extern gchar     *GGD_OPT_environ;
 
 
-const gchar    *ggd_plugin_get_doctype    (filetype_id id);
-
-
 GGD_END_PLUGIN_API
 G_END_DECLS
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Plugins-Commits mailing list