[gtk+] Document gtk_parse_args limitations
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Document gtk_parse_args limitations
- Date: Sat, 30 Jan 2016 21:11:30 +0000 (UTC)
commit dd322f715f0ac97155e0e443eaf7a73f8727a134
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jan 30 16:09:15 2016 -0500
Document gtk_parse_args limitations
Mention that some things won't work without a display
connection.
gtk/gtkmain.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index 2437ddc..d3c3ba2 100644
--- a/gtk/gtkmain.c
+++ b/gtk/gtkmain.c
@@ -953,6 +953,10 @@ gtk_init_with_args (gint *argc,
* There is no need to call this function explicitly if you are using
* gtk_init(), or gtk_init_check().
*
+ * Note that many aspects of GTK+ require a display connection to
+ * function, so this way of initializing GTK+ is really only useful
+ * for specialized use cases.
+ *
* Returns: %TRUE if initialization succeeded, otherwise %FALSE
*/
gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]