perl-Gtk2 r2117 - in trunk: . xs



Author: tsch
Date: Tue Jan 20 19:21:53 2009
New Revision: 2117
URL: http://svn.gnome.org/viewvc/perl-Gtk2?rev=2117&view=rev

Log:
Declare all private functions as 'static' so that they aren't exported.


Modified:
   trunk/ChangeLog
   trunk/xs/GtkBuildable.xs

Modified: trunk/xs/GtkBuildable.xs
==============================================================================
--- trunk/xs/GtkBuildable.xs	(original)
+++ trunk/xs/GtkBuildable.xs	Tue Jan 20 19:21:53 2009
@@ -158,7 +158,7 @@
 
 /* Called for character data */
 /* text is not nul-terminated */
-void
+static void
 gtk2perl_buildable_parser_text (GMarkupParseContext *context,
 				const gchar         *text,
 				gsize                text_len,  
@@ -183,7 +183,7 @@
  * this includes comments and processing instructions.
  */
 /* text is not nul-terminated. */
-void
+static void
 gtk2perl_buildable_parser_passthrough (GMarkupParseContext *context,
 				       const gchar         *passthrough_text,
 				       gsize                text_len,  
@@ -206,7 +206,7 @@
 /* Called on error, including one set by other
  * methods in the vtable. The GError should not be freed.
  */
-void
+static void
 gtk2perl_buildable_parser_error (GMarkupParseContext *context,
 				 GError              *error,
 				 gpointer             user_data)



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