[gnome-control-center] printers: Remove dead PPD dialog code



commit 06eb07bbd665ca5492e398201aaa9911fe7f379b
Author: Robert Ancell <robert ancell canonical com>
Date:   Tue Nov 10 14:47:20 2020 +1300

    printers: Remove dead PPD dialog code

 panels/printers/cc-printers-panel.c | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/panels/printers/cc-printers-panel.c b/panels/printers/cc-printers-panel.c
index fe3e0f890..d8992e7a7 100644
--- a/panels/printers/cc-printers-panel.c
+++ b/panels/printers/cc-printers-panel.c
@@ -36,7 +36,6 @@
 #include <math.h>
 
 #include "pp-new-printer-dialog.h"
-#include "pp-ppd-selection-dialog.h"
 #include "pp-utils.h"
 #include "pp-cups.h"
 #include "pp-printer-entry.h"
@@ -82,7 +81,6 @@ struct _CcPrintersPanel
   CcPermissionInfobar *permission_infobar;
 
   PpNewPrinterDialog   *pp_new_printer_dialog;
-  PpPPDSelectionDialog *pp_ppd_selection_dialog;
 
   GDBusProxy      *cups_proxy;
   GDBusConnection *cups_bus_connection;
@@ -1093,10 +1091,6 @@ get_all_ppds_async_cb (PPDList  *ppds,
 
   self->all_ppds_list = ppds;
 
-  if (self->pp_ppd_selection_dialog)
-    pp_ppd_selection_dialog_set_ppd_list (self->pp_ppd_selection_dialog,
-                                          self->all_ppds_list);
-
   if (self->pp_new_printer_dialog)
     pp_new_printer_dialog_set_ppd_list (self->pp_new_printer_dialog,
                                         self->all_ppds_list);


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