gconf r2705 - in trunk: . defaults
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gconf r2705 - in trunk: . defaults
- Date: Wed, 22 Oct 2008 10:14:38 +0000 (UTC)
Author: chpe
Date: Wed Oct 22 10:14:38 2008
New Revision: 2705
URL: http://svn.gnome.org/viewvc/gconf?rev=2705&view=rev
Log:
* defaults/gconf-defaults.c: (do_copy),
(gconf_defaults_unset_mandatory): Fix some 'format not a string
literal and no format arguments' warnings.
Modified:
trunk/ChangeLog
trunk/defaults/gconf-defaults.c
Modified: trunk/defaults/gconf-defaults.c
==============================================================================
--- trunk/defaults/gconf-defaults.c (original)
+++ trunk/defaults/gconf-defaults.c Wed Oct 22 10:14:38 2008
@@ -568,9 +568,9 @@
if (error) {
g_print ("failed to set GConf values: %s\n", error->message);
- error2 = g_error_new (GCONF_DEFAULTS_ERROR,
- GCONF_DEFAULTS_ERROR_GENERAL,
- error->message);
+ error2 = g_error_new_literal (GCONF_DEFAULTS_ERROR,
+ GCONF_DEFAULTS_ERROR_GENERAL,
+ error->message);
g_error_free (error);
dbus_g_method_return_error (context, error2);
@@ -738,9 +738,9 @@
includes, excludes, &error);
if (error) {
- error2 = g_error_new (GCONF_DEFAULTS_ERROR,
- GCONF_DEFAULTS_ERROR_GENERAL,
- error->message);
+ error2 = g_error_new_literal (GCONF_DEFAULTS_ERROR,
+ GCONF_DEFAULTS_ERROR_GENERAL,
+ error->message);
g_error_free (error);
dbus_g_method_return_error (context, error2);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]