[Xfce4-commits] <garcon:master> Fix some compiler warnings in the tests.

Nick Schermer noreply at xfce.org
Tue Nov 17 11:08:02 CET 2009


Updating branch refs/heads/master
         to cc8c24c8cd5f5f24929374909451482f7d8702db (commit)
       from 9c1166438cc6af5922ef2ea85901543267325e89 (commit)

commit cc8c24c8cd5f5f24929374909451482f7d8702db
Author: Nick Schermer <nick at xfce.org>
Date:   Tue Nov 17 11:06:02 2009 +0100

    Fix some compiler warnings in the tests.

 tests/test-menu-parser.c |    4 ++--
 tests/test-menu-spec.c   |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/test-menu-parser.c b/tests/test-menu-parser.c
index 39908fb..334e0fc 100644
--- a/tests/test-menu-parser.c
+++ b/tests/test-menu-parser.c
@@ -41,7 +41,7 @@ static gboolean print_node (GNode *node,
 
 
 
-const gchar *
+static const gchar *
 node_name (GNode *node)
 {
   switch (garcon_menu_node_tree_get_node_type (node))
@@ -192,7 +192,7 @@ print_node (GNode *node,
 
 
 
-void
+static void
 print_tree (GarconMenuTreeProvider *provider)
 {
   GNode *tree;
diff --git a/tests/test-menu-spec.c b/tests/test-menu-spec.c
index c85b535..328aaa0 100644
--- a/tests/test-menu-spec.c
+++ b/tests/test-menu-spec.c
@@ -34,7 +34,7 @@
 
 
 
-void
+static void
 print_menu (GarconMenu  *menu,
             const gchar *path)
 {



More information about the Xfce4-commits mailing list