forked from AuroraMiddleware/gtk
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:
parent
4c971c6f5e
commit
833dbd65cd
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user