gtkplacessidebar.c: fix coding style

Signed-off-by: Geyslan G. Bem <geyslan@gmail.com>
This commit is contained in:
Geyslan G. Bem 2021-04-28 08:42:59 -03:00
parent 1635998ac3
commit 65575fe0d0

View File

@ -796,9 +796,8 @@ on_bookmark_query_info_complete (GObject *source,
/* Don't add non-UTF-8 bookmarks */
bookmark_name = g_file_get_basename (root);
if (bookmark_name == NULL)
{
goto out;
}
goto out;
if (!g_utf8_validate (bookmark_name, -1, NULL))
{
g_free (bookmark_name);