diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-07-18 10:30:07 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-07-18 10:38:02 (GMT) |
commit | e5b5f9f4df06fbf08b60c039cf6dbdc4dce48784 (patch) | |
tree | 31a372b51a4f75d1a0692a47588e21069f84cf98 /src | |
parent | d25dda121501e9cc36b43c15c76d1e00d0173f7d (diff) |
Cleaned code.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/editor.c | 5 |
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); } |