[gimp/gimp-2-8] Doc NULL return for gimp_display_name() when no GUI.



commit bba43436418d5eea0ecbe430b84efc6b383a96e8
Author: Ed J <edj src gnome org>
Date:   Sat May 24 17:58:37 2014 +0100

    Doc NULL return for gimp_display_name() when no GUI.

 libgimp/gimp.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libgimp/gimp.c b/libgimp/gimp.c
index f737e0d..0d2c7f7 100644
--- a/libgimp/gimp.c
+++ b/libgimp/gimp.c
@@ -1342,6 +1342,8 @@ gimp_wm_class (void)
  * Returns the display to be used for plug-in windows.
  *
  * This is a constant value given at plug-in configuration time.
+ * Will return #NULL if GIMP has been started with no GUI, either
+ * via "--no-interface" flag, or a console build.
  *
  * Return value: the display name
  **/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]