Lazily initialize the singleton instance.
| 86 | |
| 87 | // Lazily initialize the singleton instance. |
| 88 | StickyPrintSettingGtk* GetLastUsedSettings() { |
| 89 | static StickyPrintSettingGtk* settings = NULL; |
| 90 | if (!settings) |
| 91 | settings = new StickyPrintSettingGtk(); |
| 92 | return settings; |
| 93 | } |
| 94 | |
| 95 | // Helper class to track GTK printers. |
| 96 | class GtkPrinterList { |
no outgoing calls
no test coverage detected