From dd322f715f0ac97155e0e443eaf7a73f8727a134 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 30 Jan 2016 16:09:15 -0500 Subject: [PATCH] Document gtk_parse_args limitations Mention that some things won't work without a display connection. --- gtk/gtkmain.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c index 2437ddce9e..d3c3ba2057 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