printers: Make panel required on all platforms

All the free Unix-compatible platforms we support have CUPS support, so
require it from the get-go.
This commit is contained in:
Bastien Nocera 2017-02-08 20:06:40 +01:00
parent 0090ba57e4
commit 8074a31d5e
4 changed files with 32 additions and 57 deletions

View file

@ -45,9 +45,7 @@ extern GType cc_network_panel_get_type (void);
extern GType cc_notifications_panel_get_type (void);
extern GType cc_goa_panel_get_type (void);
extern GType cc_power_panel_get_type (void);
#ifdef BUILD_PRINTERS
extern GType cc_printers_panel_get_type (void);
#endif /* BUILD_PRINTERS */
extern GType cc_privacy_panel_get_type (void);
extern GType cc_region_panel_get_type (void);
extern GType cc_search_panel_get_type (void);
@ -89,9 +87,7 @@ static struct {
PANEL_TYPE("notifications", cc_notifications_panel_get_type),
PANEL_TYPE("online-accounts", cc_goa_panel_get_type ),
PANEL_TYPE("power", cc_power_panel_get_type ),
#ifdef BUILD_PRINTERS
PANEL_TYPE("printers", cc_printers_panel_get_type ),
#endif
PANEL_TYPE("privacy", cc_privacy_panel_get_type ),
PANEL_TYPE("region", cc_region_panel_get_type ),
PANEL_TYPE("search", cc_search_panel_get_type ),