diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gtkext/gtkgraphview.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gtkext/gtkgraphview.c b/src/gtkext/gtkgraphview.c index ebff35c..d5b123e 100644 --- a/src/gtkext/gtkgraphview.c +++ b/src/gtkext/gtkgraphview.c @@ -43,8 +43,6 @@ struct _GtkGraphView GtkWidget *support; /* Support des vues en bloc */ GBinRoutine *routine; /* Routine en cours d'affichage*/ - vmpa_t start; /* Début de la portion vue */ /* FIXME : à garder ? */ - vmpa_t end; /* Fin de la portion affichée */ /* FIXME : à garder ? */ segcnt_list *highlighted; /* Segments mis en évidence */ GtkBufferView **children; /* Liste des sous-blocs */ @@ -365,6 +363,8 @@ static void gtk_graph_view_define_main_address(GtkGraphView *view, const vmpa2t } gtk_graph_view_compute_requested_size(view, &width, &height); + + gtk_widget_size_allocate(view, (GtkAllocation []){ { 0, 0, width, height } }); gtk_widget_size_allocate(view->support, (GtkAllocation []){ { 0, 0, width, height } }); change_editor_items_current_view_content(GTK_VIEW_PANEL(view)); @@ -517,9 +517,6 @@ static void gtk_graph_view_reset(GtkGraphView *view) { size_t i; /* Boucle de parcours */ - view->start = VMPA_MAX; - view->end = VMPA_MAX; - /* for (i = 0; i < view->links_count; i++) gtk_object_destroy(GTK_OBJECT(view->links[i])); |