[Goodies-commits] r7359 - in gigolo/trunk: . src
Enrico Troeger
enrico at xfce.org
Sun May 17 19:52:31 CEST 2009
Author: enrico
Date: 2009-05-17 17:52:31 +0000 (Sun, 17 May 2009)
New Revision: 7359
Modified:
gigolo/trunk/ChangeLog
gigolo/trunk/src/common.h
gigolo/trunk/src/window.c
Log:
Make use of the G_GNUC_PRINTF() macro.
Modified: gigolo/trunk/ChangeLog
===================================================================
--- gigolo/trunk/ChangeLog 2009-05-17 16:22:32 UTC (rev 7358)
+++ gigolo/trunk/ChangeLog 2009-05-17 17:52:31 UTC (rev 7359)
@@ -1,5 +1,11 @@
2009-04-18 Enrico Tröger <enrico(at)xfce(dot)org>
+ * src/window.c, src/common.h:
+ Make use of the G_GNUC_PRINTF() macro.
+
+
+2009-05-17 Enrico Tröger <enrico(at)xfce(dot)org>
+
* src/backendgvfs.c:
Use a counter with a timeout for a more accurate approximation
of finished network browsing.
Modified: gigolo/trunk/src/common.h
===================================================================
--- gigolo/trunk/src/common.h 2009-05-17 16:22:32 UTC (rev 7358)
+++ gigolo/trunk/src/common.h 2009-05-17 17:52:31 UTC (rev 7359)
@@ -29,12 +29,12 @@
#ifdef DEBUG
-void debug(gchar const *format, ...);
+void debug(gchar const *format, ...) G_GNUC_PRINTF (1, 2);
#else
# define debug(...)
#endif
-void verbose(gchar const *format, ...);
+void verbose(gchar const *format, ...) G_GNUC_PRINTF (1, 2);
const gchar *gigolo_describe_scheme(const gchar *scheme);
Modified: gigolo/trunk/src/window.c
===================================================================
--- gigolo/trunk/src/window.c 2009-05-17 16:22:32 UTC (rev 7358)
+++ gigolo/trunk/src/window.c 2009-05-17 17:52:31 UTC (rev 7359)
@@ -554,7 +554,7 @@
if (! g_spawn_command_line_async(cmd, &error))
{
- verbose(error->message);
+ verbose("%s", error->message);
g_error_free(error);
}
More information about the Goodies-commits
mailing list