[gtksourceview] No need for format in only string vars
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] No need for format in only string vars
- Date: Wed, 4 Jan 2012 20:31:50 +0000 (UTC)
commit 45552a90187fca4a3f7e9c5318bd121310ccc09e
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Wed Jan 4 21:33:05 2012 +0100
No need for format in only string vars
gtksourceview/gtksourcecontextengine.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/gtksourceview/gtksourcecontextengine.c b/gtksourceview/gtksourcecontextengine.c
index f00f41d..e58f790 100644
--- a/gtksourceview/gtksourcecontextengine.c
+++ b/gtksourceview/gtksourcecontextengine.c
@@ -4517,8 +4517,7 @@ analyze_line (GtkSourceContextEngine *ce,
if (g_timer_elapsed (timer, NULL) * 1000 > MAX_TIME_FOR_ONE_LINE)
{
- g_critical ("%s",
- _("Highlighting a single line took too much time, "
+ g_critical (_("Highlighting a single line took too much time, "
"syntax highlighting will be disabled"));
disable_syntax_analysis (ce);
break;
@@ -6371,7 +6370,7 @@ add_escape_ref (ContextDefinition *definition,
out:
if (error)
{
- g_warning ("%s", error->message);
+ g_warning (error->message);
g_error_free (error);
}
}
@@ -6433,7 +6432,7 @@ _gtk_source_context_data_set_escape_char (GtkSourceContextData *ctx_data,
out:
if (error)
{
- g_warning ("%s", error->message);
+ g_warning (error->message);
g_error_free (error);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]