[Xfce4-commits] <exo:master> Only print debug line when compiling with debugging.

Nick Schermer noreply at xfce.org
Sun Feb 14 16:16:01 CET 2010


Updating branch refs/heads/master
         to 708cad4d7374373c9e18fe659b231abb4962b18c (commit)
       from 5bcd7dabddff282273caf9ca4b4a8f05768258c3 (commit)

commit 708cad4d7374373c9e18fe659b231abb4962b18c
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Feb 14 16:13:08 2010 +0100

    Only print debug line when compiling with debugging.

 exo-gio-module/exo-module.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/exo-gio-module/exo-module.c b/exo-gio-module/exo-module.c
index 76b9176..0d7cbd8 100644
--- a/exo-gio-module/exo-module.c
+++ b/exo-gio-module/exo-module.c
@@ -156,9 +156,11 @@ exo_gio_module_get_default_for_uri_scheme (GDesktopAppInfoLookup *lookup,
         }
     }
 
+#ifndef NDEBUG
   /* print debug message if scheme is not recognized by exo */
   if (!found)
     g_debug ("Unknown URI-scheme \"%s\".", uri_scheme);
+#endif
 
   return info;
 }



More information about the Xfce4-commits mailing list