[gtk+] Add a section about initialization to the migration guide
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Add a section about initialization to the migration guide
- Date: Thu, 19 Jan 2017 18:54:21 +0000 (UTC)
commit 47bc8603b0cb1676ce5887de3aeba511a5f85ad6
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jan 19 13:52:52 2017 -0500
Add a section about initialization to the migration guide
Just the facts.
docs/reference/gtk/migrating-3to4.xml | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/docs/reference/gtk/migrating-3to4.xml b/docs/reference/gtk/migrating-3to4.xml
index 537aad0..f33cc15 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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]