geany/geany — comment on commit c9cd6c096c3c1db0ba2a70045c23502fa4a3f348
File: src/build.c line 1831
By ntrel:

Maybe replace the if with a `g_return_if_fail(GTK_WIDGET_TOPLEVEL())` check?