mirror of https://github.com/GNOME/gimp.git
app: don't print a NULL insensitive action reason.
Print an empty string itself, otherwise it actually displays "(null)". And anyway it's not clean code to use a NULL pointer in a printf format.
This commit is contained in:
parent
ef2402bf8e
commit
c8020c20a5
|
@ -414,7 +414,7 @@ gimp_action_set_proxy_tooltip (GimpAction *action,
|
|||
"<i><span weight='light'>%s</span></i>", /* Inactive reason */
|
||||
tooltip,
|
||||
escaped_reason && tooltip ? "\n" : "",
|
||||
escaped_reason);
|
||||
escaped_reason ? escaped_reason : "");
|
||||
|
||||
if (tooltip || escaped_reason)
|
||||
gimp_help_set_help_data_with_markup (proxy, markup,
|
||||
|
|
Loading…
Reference in New Issue