[tracker/gdbus-store: 4/12] libtracker-common: Do not mark assertion failures for translation



commit 6edb8a566164444c3dff927e5758ed32cbb487de
Author: Jürg Billeter <j bitron ch>
Date:   Thu Jan 13 09:57:53 2011 +0100

    libtracker-common: Do not mark assertion failures for translation

 src/libtracker-common/tracker-dbus.h |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/libtracker-common/tracker-dbus.h b/src/libtracker-common/tracker-dbus.h
index d6bec85..12d37be 100644
--- a/src/libtracker-common/tracker-dbus.h
+++ b/src/libtracker-common/tracker-dbus.h
@@ -20,8 +20,6 @@
 #ifndef __LIBTRACKER_COMMON_DBUS_H__
 #define __LIBTRACKER_COMMON_DBUS_H__
 
-#include <glib/gi18n.h>
-
 #include <gio/gio.h>
 
 #ifndef NO_LIBDBUS
@@ -70,7 +68,7 @@ G_BEGIN_DECLS
 			g_set_error (&assert_error, \
 			             TRACKER_DBUS_ERROR, \
 			             TRACKER_DBUS_ERROR_ASSERTION_FAILED, \
-			             _("Assertion `%s' failed"), \
+			             "Assertion `%s' failed", \
 			             #expr); \
 	  \
 			dbus_g_method_return_error (context, assert_error); \
@@ -86,7 +84,7 @@ G_BEGIN_DECLS
 			g_set_error (error, \
 			             TRACKER_DBUS_ERROR, \
 			             TRACKER_DBUS_ERROR_ASSERTION_FAILED, \
-			             _("Assertion `%s' failed"), \
+			             "Assertion `%s' failed", \
 			             #expr); \
 	  \
 			return val; \



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