From 938960f22940ff653986050176fc11018e04fd03 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 6 Jul 2016 22:51:52 -0400 Subject: [PATCH] Add a forgotten break Stop iterating when we've found the printer we're looking for. --- gtk/gtkprintoperation-portal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtkprintoperation-portal.c b/gtk/gtkprintoperation-portal.c index b71c1e3ef4..6ed37ae063 100644 --- a/gtk/gtkprintoperation-portal.c +++ b/gtk/gtkprintoperation-portal.c @@ -348,6 +348,7 @@ find_file_printer (void) printers = gtk_print_backend_get_printer_list (backend); printer = printers->data; g_list_free (printers); + break; } } g_list_free (backends);