[at-spi2-core] fix string literal



commit 68bfe26ef3cc7753b932ff7684563953e502822f
Author: Funda Wang <fundawang gmail com>
Date:   Thu Sep 22 22:53:07 2011 +0200

    fix string literal

 atspi/atspi-misc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/atspi/atspi-misc.c b/atspi/atspi-misc.c
index 76174bc..e2ccf10 100644
--- a/atspi/atspi-misc.c
+++ b/atspi/atspi-misc.c
@@ -951,7 +951,7 @@ _atspi_dbus_call (gpointer obj, const char *interface, const char *method, GErro
   _atspi_process_deferred_messages ((gpointer)TRUE);
   if (dbus_error_is_set (&err))
   {
-    g_set_error(error, ATSPI_ERROR, ATSPI_ERROR_IPC, err.message);
+    g_set_error(error, ATSPI_ERROR, ATSPI_ERROR_IPC, "%s", err.message);
     dbus_error_free (&err);
   }
   return retval;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]