[gtk+/gtk-3-20] broadway: fix documentation
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-20] broadway: fix documentation
- Date: Mon, 11 Apr 2016 11:36:39 +0000 (UTC)
commit b16c9ebdf110745a822ffe8f9574a88a7c17a8b3
Author: Mohammed Sadik <sadiq sadiqpk org>
Date: Sun Apr 10 11:49:20 2016 +0530
broadway: fix documentation
broadway backend has 0 as the default display port,
which maps to tcp port 8080.
https://bugzilla.gnome.org/show_bug.cgi?id=764835
docs/reference/gtk/broadway.xml | 8 ++++----
docs/reference/gtk/broadwayd.xml | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/docs/reference/gtk/broadway.xml b/docs/reference/gtk/broadway.xml
index 80bafbe..69d4ac9 100644
--- a/docs/reference/gtk/broadway.xml
+++ b/docs/reference/gtk/broadway.xml
@@ -43,10 +43,10 @@ To use broadwayd, start it like this:
<programlisting>
broadwayd :5
</programlisting>
-Then point your web browser at <literal>http://127.0.0.1:8084</literal>.
+Then point your web browser at <literal>http://127.0.0.1:8085</literal>.
Start your applications like this:
<programlisting>
-BROADWAY_DISPLAY=:5 gtk3-demo
+GDK_BACKEND=broadway BROADWAY_DISPLAY=:5 gtk3-demo
</programlisting>
</para>
@@ -58,11 +58,11 @@ BROADWAY_DISPLAY=:5 gtk3-demo
<title><envar>BROADWAY_DISPLAY</envar></title>
<para>
- Specifies the Broadway display number. The default display is 1.
+ Specifies the Broadway display number. The default display is 0.
The display number determines the port to use when connecting
to a Broadway application via the following formula:
<programlisting>
- <replaceable>port</replaceable> = 8080 + (<replaceable>display</replaceable> - 1)
+ <replaceable>port</replaceable> = 8080 + <replaceable>display</replaceable>
</programlisting>
</para>
</formalpara>
diff --git a/docs/reference/gtk/broadwayd.xml b/docs/reference/gtk/broadwayd.xml
index 207b6c9..e8fad82 100644
--- a/docs/reference/gtk/broadwayd.xml
+++ b/docs/reference/gtk/broadwayd.xml
@@ -45,14 +45,14 @@ windows in the same web browser, by connecting to broadwayd.
</para>
<para>
When using broadwayd, specify the display number to use, prefixed
-with a colon, similar to X. The default display number is 1.
+with a colon, similar to X. The default display number is 0.
<programlisting>
broadwayd :5
</programlisting>
-Then point your web browser at <literal>http://127.0.0.1:8084</literal>.
+Then point your web browser at <literal>http://127.0.0.1:8085</literal>.
Start your applications like this:
<programlisting>
-BROADWAY_DISPLAY=:5 gtk3-demo
+GDK_BACKEND=broadway BROADWAY_DISPLAY=:5 gtk3-demo
</programlisting>
You can add password protection for your session by creating a file in
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]