From df8964a1ce888770fe3dc080581eb53d166a3379 Mon Sep 17 00:00:00 2001 From: Ed J Date: Sat, 24 May 2014 17:58:37 +0100 Subject: [PATCH] Doc NULL return for gimp_display_name() when no GUI. --- libgimp/gimp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libgimp/gimp.c b/libgimp/gimp.c index e98819db03..aea24b2242 100644 --- a/libgimp/gimp.c +++ b/libgimp/gimp.c @@ -1341,6 +1341,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 **/