Skip to content

Commit 22d2baa

Browse files
committed
Remove obsolete application settings
1 parent 849c3a9 commit 22d2baa

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

src/extern/cef/cef_types.pxd

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,11 @@ cdef extern from "include/internal/cef_types.h":
4343
cef_string_t javascript_flags
4444
cef_string_t resources_dir_path
4545
cef_string_t locales_dir_path
46-
int pack_loading_disabled
4746
int remote_debugging_port
4847
int uncaught_exception_stack_size
4948
int context_safety_implementation # Not exposed.
5049
int ignore_certificate_errors
5150
cef_color_t background_color
52-
int persist_user_preferences
5351
int windowless_rendering_enabled
5452
int no_sandbox
5553
int external_message_pump

src/settings.pyx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ cdef void SetApplicationSettings(
8383
cefString = new CefString(&cefAppSettings.locales_dir_path)
8484
PyToCefStringPointer(appSettings[key], cefString)
8585
del cefString
86-
elif key == "pack_loading_disabled":
87-
pass # Removed in CEF 146
8886
elif key == "uncaught_exception_stack_size":
8987
cefAppSettings.uncaught_exception_stack_size = <int>int(appSettings[key])
9088
elif key == "browser_subprocess_path":
@@ -102,8 +100,6 @@ cdef void SetApplicationSettings(
102100
elif key == "background_color":
103101
cefAppSettings.background_color = \
104102
<uint32_t>int(appSettings[key])
105-
elif key == "persist_user_preferences":
106-
pass # Removed in CEF 146
107103
elif key == "windowless_rendering_enabled":
108104
cefAppSettings.windowless_rendering_enabled = \
109105
int(appSettings[key])

0 commit comments

Comments
 (0)