summaryrefslogtreecommitdiff
path: root/src/gui/editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editor.c')
-rw-r--r--src/gui/editor.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/editor.c b/src/gui/editor.c
index fa03e77..6934869 100644
--- a/src/gui/editor.c
+++ b/src/gui/editor.c
@@ -48,6 +48,7 @@
#include "../common/extstr.h"
#include "../core/global.h"
#include "../core/params.h"
+#include "../glibext/signal.h"
#include "../gtkext/easygtk.h"
#include "../gtkext/gtkdisplaypanel.h"
#include "../gtkext/gtkdockable.h"
@@ -1607,7 +1608,7 @@ static void notify_paned_handle_position_change(GObject *obj, GParamSpec *pspec,
* Remarques : - *
* *
******************************************************************************/
-#include "../glibext/signal.h"
+
static void notify_editor_project_change(GStudyProject *project, bool new)
{
@@ -1631,8 +1632,6 @@ static void notify_editor_project_change(GStudyProject *project, bool new)
g_study_project_hide(project);
- // FIXME
- //g_signal_handlers_disconnect_by_func(project, G_CALLBACK(on_editor_loaded_content_added), NULL);
}