Skip to content

Commit

Permalink
Disable editor-notify signal until cause of a segfault is found.
Browse files Browse the repository at this point in the history
  • Loading branch information
codebrainz committed Sep 13, 2011
1 parent 28d00f3 commit 7c2ef3d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/signalmanager.c
Expand Up @@ -168,6 +168,7 @@ static void on_document_save(GObject *geany_object, GeanyDocument *doc, SignalMa

static gboolean on_editor_notify(GObject *geany_object, GeanyEditor *editor, SCNotification *nt, SignalManager *man)
{
#if 0 /* Causing segfault for some reason (GIL?) */
gboolean res = FALSE;
PyObject *py_ed, *py_notif;
py_ed = (PyObject *) Editor_create_new_from_geany_editor(editor);
Expand All @@ -176,6 +177,10 @@ static gboolean on_editor_notify(GObject *geany_object, GeanyEditor *editor, SCN
Py_XDECREF(py_ed);
Py_XDECREF(py_notif);
return res;
#else
g_warning("Editor-notify signal temporarily disabled.");
return FALSE;
#endif
}


Expand Down

0 comments on commit 7c2ef3d

Please sign in to comment.