(widget_set_state): return cb_ret_t instead of gboolean.