Browse Source

initialize gtksourceviewmm since terminal uses that now and calls to terminal will cause an null value of the sourcebuffer

python
Jørgen Lien Sellæg 5 years ago
parent
commit
8a7dd41b73
  1. 2
      tests/python_bindings/test_suite.cc

2
tests/python_bindings/test_suite.cc

@ -1,8 +1,10 @@
#include "test_suite.h"
#include "python_module.h"
#include <gtksourceviewmm/init.h>
#include <iostream>
suite::suite(const boost::filesystem::path &path) : plugins(config) {
Gsv::init();
py::initialize_interpreter();
if(!Py_IsInitialized()) {
throw std::runtime_error("Unable to initialize interpreter");

Loading…
Cancel
Save