From e5b5f9f4df06fbf08b60c039cf6dbdc4dce48784 Mon Sep 17 00:00:00 2001
From: Cyrille Bagard <nocbos@gmail.com>
Date: Wed, 18 Jul 2018 12:30:07 +0200
Subject: Cleaned code.

---
 plugins/dalvik/link.c | 10 ++--------
 src/gui/editor.c      |  5 ++---
 2 files changed, 4 insertions(+), 11 deletions(-)

diff --git a/plugins/dalvik/link.c b/plugins/dalvik/link.c
index c37abb8..8eda3c9 100644
--- a/plugins/dalvik/link.c
+++ b/plugins/dalvik/link.c
@@ -61,10 +61,6 @@ typedef struct _case_comment
 } case_comment;
 
 
-/* REMME */
-#define COMMENT_LINE_SEP "\n"
-
-
 
 /******************************************************************************
 *                                                                             *
@@ -339,8 +335,7 @@ void handle_dalvik_packed_switch_links(GArchInstruction *instr, GArchProcessor *
                         for (k = 0; k < comment->count; k++)
                         {
                             if (k > 0)
-                                /* FIXME : encapsuler ! */
-                                msg = stradd(msg, COMMENT_LINE_SEP);
+                                msg = stradd(msg, "\n");
 
                             asprintf(&int_val, _("Case %d:"), comment->keys[k]);
                             msg = stradd(msg, int_val);
@@ -358,8 +353,7 @@ void handle_dalvik_packed_switch_links(GArchInstruction *instr, GArchProcessor *
                         msg = strdup(_("Defaut case:"));
                     else
                     {
-                        /* FIXME : encapsuler ! */
-                        msg = stradd(msg, COMMENT_LINE_SEP);
+                        msg = stradd(msg, "\n");
                         msg = stradd(msg, _("Defaut case"));
                     }
 
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);
 
 
     }
-- 
cgit v0.11.2-87-g4458