Skip to content

Commit b1156d3

Browse files
committed
Update docs for gtk functions in WindowUtils.
1 parent 90452e3 commit b1156d3

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

api/WindowUtils.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ On Linux and Mac this method always returns True. @TODO.
115115
| long GdkNativeWindow | long |
116116
| __Return__ | void |
117117

118-
Linux-only. This method is utilized in the PyQt example.
118+
Linux-only.
119119

120120

121121
### gtk_widget_show (Linux)
@@ -125,7 +125,7 @@ Linux-only. This method is utilized in the PyQt example.
125125
| long GtkWidget* | long |
126126
| __Return__ | void |
127127

128-
Linux-only. This method is utilized in the PyQt example.
128+
Linux-only.
129129

130130

131131
### InstallX11ErrorHandlers (Linux)
@@ -139,4 +139,5 @@ won't be terminated on non-fatal errors. Must be done after
139139
initializing GTK.
140140

141141
CEF Python calls this function automatically during a call to
142-
Initialize, so there is no need to call it manually anymore.
142+
Initialize, so there is no more need to call it manually in
143+
most cases.

src/compile_time_constants.pxi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# This file was generated by setup.py
2-
DEF UNAME_SYSNAME = "Darwin"
2+
DEF UNAME_SYSNAME = "Linux"
33
DEF PY_MAJOR_VERSION = 2

src/settings.pyx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,7 @@ cdef void SetBrowserSettings(
133133
cdef CefString* cefString
134134

135135
for key in browserSettings:
136-
if key == "window_title":
137-
# CEF Python only options. These are not to be found in CEF.
138-
continue
139-
elif key == "accept_language_list":
136+
if key == "accept_language_list":
140137
cefString = new CefString(&cefBrowserSettings.accept_language_list)
141138
PyToCefStringPointer(browserSettings[key], cefString)
142139
del cefString

0 commit comments

Comments
 (0)