summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-01-19 13:52:52 -0500
committerMatthias Clasen <mclasen@redhat.com>2017-01-19 13:53:11 -0500
commit47bc8603b0cb1676ce5887de3aeba511a5f85ad6 (patch)
treefedfa11d878cdcd2e069cd560d27747917fd4384
parent2c7e567f05eb31aa3b78ed83fd92a09153525210 (diff)
downloadgtk+-47bc8603b0cb1676ce5887de3aeba511a5f85ad6.tar.gz
Add a section about initialization to the migration guide
Just the facts.
-rw-r--r--docs/reference/gtk/migrating-3to4.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/reference/gtk/migrating-3to4.xml b/docs/reference/gtk/migrating-3to4.xml
index 537aad0aa7..f33cc15c4f 100644
--- a/docs/reference/gtk/migrating-3to4.xml
+++ b/docs/reference/gtk/migrating-3to4.xml
@@ -261,6 +261,18 @@
use.
</para>
</section>
+
+ <section>
+ <title>Stop passing commandline arguments to gtk_init()</title>
+ <para>
+ The gtk_init() and gtk_init_check() functions no longer accept commandline
+ arguments. Just call them without arguments. Other initialization functions
+ that were purely related to commandline argument handling, such as
+ gtk_parse_args() and gtk_get_option_group(), are gone. The APIs to
+ initialize GDK separately are also gone, but it is very unlikely
+ that you are affected by that.
+ </para>
+ </section>
</section>
</chapter>