(moneylog:12208): Gtk-CRITICAL **: 20:33:53.531: gtkentryset_text: assertion 'text != NULL' failed

I get the above error with using Entry's widget setText, if the variable is set to nothing.

//(in a class..)
string shop() { return _shop; }
shop(string shop0) { return _shop=shop0; }

...

// this is a work around
if (shop != "")
    shopEntry.setText = shop;
 else
    shopEntry.setText = "";