Code

Fix g_return_if_fail failure: It can validly happen that fit_canvas_to_selection...
authorpjrm <pjrm@users.sourceforge.net>
Thu, 11 Oct 2007 12:21:05 +0000 (12:21 +0000)
committerpjrm <pjrm@users.sourceforge.net>
Thu, 11 Oct 2007 12:21:05 +0000 (12:21 +0000)
commit0cb49af80c6054253355d16cab0ace6eadcf7cc5
tree495913007c791df18be9d8ff1bf8253e27abb5de
parentda58580df27a2cc9efd382bac2445386f8665ecc
Fix g_return_if_fail failure: It can validly happen that fit_canvas_to_selection is called when nothing is selected (just like many other verbs).  So put new message in status bar and return rather than signalling an error with g_return_if_fail.
src/selection-chemistry.cpp