[goobox] notification: no need to escape the album title



commit d8b2a66b9d7752cbac15cd9429a91b067c30e633
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sat Dec 29 13:32:45 2018 +0100

    notification: no need to escape the album title

 src/goo-window.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/src/goo-window.c b/src/goo-window.c
index d98f95d..25513ec 100644
--- a/src/goo-window.c
+++ b/src/goo-window.c
@@ -1179,12 +1179,8 @@ notify_current_state_cb (gpointer user_data)
        }
 
        if (window->priv->album->title != NULL) {
-               char *e_album = g_markup_escape_text (window->priv->album->title, -1);
-
                g_string_append (info, " - ");
-               g_string_append_printf (info, "%s", e_album);
-
-               g_free (e_album);
+               g_string_append_printf (info, "%s", window->priv->album->title);
        }
 
        if (goo_player_get_state (goo_window_get_player (window)) == GOO_PLAYER_STATE_PLAYING)


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