app: Return NULL if assertion fails

This commit is contained in:
Mukund Sivaraman 2014-05-02 23:32:53 +05:30
parent d79b7e1329
commit a2f6d60a42
1 changed files with 1 additions and 1 deletions

View File

@ -1046,7 +1046,7 @@ gimp_measure_tool_dialog_new (GimpMeasureTool *measure)
GtkWidget *table;
GtkWidget *label;
g_return_if_fail (tool->display != NULL);
g_return_val_if_fail (tool->display != NULL, NULL);
shell = gimp_display_get_shell (tool->display);