diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gtkext/gtkblockview.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/gtkext/gtkblockview.c b/src/gtkext/gtkblockview.c index 66177b8..acce2d6 100644 --- a/src/gtkext/gtkblockview.c +++ b/src/gtkext/gtkblockview.c @@ -66,8 +66,6 @@ typedef struct _GDelayedInsertion GtkBlockView *view; /* Visualisation à constituer */ - size_t lengths[SAR_COUNT]; /* Différentes tailles de zone */ - } GDelayedInsertion; /* Ensembles binaires à désassembler (classe) */ @@ -305,7 +303,6 @@ static void g_delayed_insertion_process(GDelayedInsertion *insertion, GtkExtStat GRenderingLine *iter; /* Boucle de parcours */ GtkTextIter pos; /* Point d'insertion */ GBufferLine *line; /* Ligne de destination */ - //GtkTextMark *mark; /* Marquage de ligne associée */ vmpa_t done; /* Quantité déjà parcourue */ clock_t _start, _end; @@ -324,10 +321,6 @@ static void g_delayed_insertion_process(GDelayedInsertion *insertion, GtkExtStat iter = g_rendering_line_get_last_iter(lines, last); end = get_rendering_line_address(iter) + get_rendering_line_length(iter) - start; - insertion->lengths[SAR_ADDRESS] = 0; - insertion->lengths[SAR_CODE] = 0; - insertion->lengths[SAR_INSTRUCTION] = 0; - id = gtk_extended_status_bar_push(statusbar, _("Inserting lines..."), true); options = g_openida_binary_get_options(GTK_BIN_VIEW(view)->binary); @@ -349,20 +342,6 @@ static void g_delayed_insertion_process(GDelayedInsertion *insertion, GtkExtStat g_object_set_data(G_OBJECT(line), "line", iter); - -#if 0 - if (iter != lines) - gtk_text_buffer_insert_with_tags(view->buffer, &pos, "\n", 1, NULL); - - gtk_text_buffer_get_end_iter(view->buffer, &pos); - - mark = gtk_text_buffer_create_mark(view->buffer, NULL, &pos, TRUE); - g_object_set_data(G_OBJECT(mark), "line", iter); - - g_content_exporter_add_to_gtk_buffer(G_CONTENT_EXPORTER(iter), view->rendering, - view->buffer, &pos, insertion->lengths); -#endif - /* gdk_flush (); gdk_threads_leave(); |