Trivial: Use a convenience macro

g_strstrip is less obscure than the two individual functions,
so lets use it here.
This commit is contained in:
Matthias Clasen 2015-05-30 09:36:51 -04:00
parent 4c971c6f5e
commit 833dbd65cd

View File

@ -325,10 +325,7 @@ gtk_print_backend_load_modules (void)
for (i = 0; backends[i]; i++)
{
g_strchug (backends[i]);
g_strchomp (backends[i]);
backend = _gtk_print_backend_create (backends[i]);
backend = _gtk_print_backend_create (g_strstrip (backends[i]));
if (backend)
result = g_list_append (result, backend);
}