rhythmbox r5797 - in trunk: . lib plugins plugins/daap
- From: walters svn gnome org
- To: svn-commits-list gnome org
- Subject: rhythmbox r5797 - in trunk: . lib plugins plugins/daap
- Date: Sun, 6 Jul 2008 14:06:41 +0000 (UTC)
Author: walters
Date: Sun Jul 6 14:06:41 2008
New Revision: 5797
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=5797&view=rev
Log:
2008-07-06 Colin Walters <walters verbum org>
* lib/eel-gconf-extensions.c,
* plugins/daap/rb-daap-structure.c,
* plugins/rb-module.c: Always use g_warning with a non-dynamic format
specifier.
Modified:
trunk/ChangeLog
trunk/lib/eel-gconf-extensions.c
trunk/plugins/daap/rb-daap-structure.c
trunk/plugins/rb-module.c
Modified: trunk/lib/eel-gconf-extensions.c
==============================================================================
--- trunk/lib/eel-gconf-extensions.c (original)
+++ trunk/lib/eel-gconf-extensions.c Sun Jul 6 14:06:41 2008
@@ -62,7 +62,7 @@
g_return_val_if_fail (error != NULL, FALSE);
if (*error != NULL) {
- g_warning ((*error)->message);
+ g_warning ("%s", (*error)->message);
g_error_free (*error);
*error = NULL;
Modified: trunk/plugins/daap/rb-daap-structure.c
==============================================================================
--- trunk/plugins/daap/rb-daap-structure.c (original)
+++ trunk/plugins/daap/rb-daap-structure.c Sun Jul 6 14:06:41 2008
@@ -202,7 +202,7 @@
if (rb_daap_type != RB_DAAP_TYPE_STRING && rb_daap_type != RB_DAAP_TYPE_CONTAINER) {
G_VALUE_COLLECT (&(item->content), list, G_VALUE_NOCOPY_CONTENTS, &error);
if (error) {
- g_warning (error);
+ g_warning ("%s", error);
g_free (error);
}
}
Modified: trunk/plugins/rb-module.c
==============================================================================
--- trunk/plugins/rb-module.c (original)
+++ trunk/plugins/rb-module.c Sun Jul 6 14:06:41 2008
@@ -74,14 +74,14 @@
module->library = g_module_open (module->path, 0);
if (module->library == NULL) {
- g_warning (g_module_error());
+ g_warning ("%s", g_module_error ());
return FALSE;
}
/* extract symbols from the lib */
if (!g_module_symbol (module->library, "register_rb_plugin", (void *)®ister_func)) {
- g_warning (g_module_error ());
+ g_warning ("%s", g_module_error ());
g_module_close (module->library);
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]