[gnome-builder] greeter-row: utf8_strdown() returns a copy of the input string
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] greeter-row: utf8_strdown() returns a copy of the input string
- Date: Thu, 13 Oct 2016 01:53:13 +0000 (UTC)
commit 1d14edb3b1dbca5e047bd69c118865748b5c94b0
Author: Christian Hergert <chergert redhat com>
Date: Wed Oct 12 18:53:03 2016 -0700
greeter-row: utf8_strdown() returns a copy of the input string
No need to make a duplication here.
libide/greeter/ide-greeter-project-row.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/greeter/ide-greeter-project-row.c b/libide/greeter/ide-greeter-project-row.c
index 243eaf4..36b71d6 100644
--- a/libide/greeter/ide-greeter-project-row.c
+++ b/libide/greeter/ide-greeter-project-row.c
@@ -86,7 +86,7 @@ ide_greeter_project_row_create_search_text (IdeGreeterProjectRow *self,
if ((tmp = ide_project_info_get_name (project_info)))
{
- g_autofree gchar *downcase = g_utf8_strdown (g_strdup (tmp), -1);
+ g_autofree gchar *downcase = g_utf8_strdown (tmp, -1);
g_string_append (str, tmp);
g_string_append (str, " ");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]