summaryrefslogtreecommitdiff
path: root/src/gui/menus
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2014-08-26 22:41:12 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2014-08-26 22:41:12 (GMT)
commit10b620c3f7d6a9e78aa1e9d6dabef466d0b9e3af (patch)
tree3324503e81bdbc83611aa52b4df83b51090d7104 /src/gui/menus
parent90a79bf4c2c21715e5ef9d8a370928d218c08784 (diff)
Looked for coordinates using the new addresses definitions.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@394 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gui/menus')
-rw-r--r--src/gui/menus/edition.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/menus/edition.c b/src/gui/menus/edition.c
index 5e7b003..fc23f49 100644
--- a/src/gui/menus/edition.c
+++ b/src/gui/menus/edition.c
@@ -91,7 +91,7 @@ static void mcb_edition_goto(GtkMenuItem *menuitem, GMenuBar *bar)
{
GObject *ref; /* Espace de référencements */
GtkWidget *dialog; /* Boîte de dialogue à montrer */
- vmpa_t addr; /* Adresse de destination */
+ vmpa2t *addr; /* Adresse de destination */
GtkViewPanel *vpanel; /* Afficheur effectif de code */
ref = g_editor_item_get_global_ref(G_EDITOR_ITEM(bar));
@@ -104,6 +104,8 @@ static void mcb_edition_goto(GtkMenuItem *menuitem, GMenuBar *bar)
vpanel = g_editor_item_get_current_view(G_EDITOR_ITEM(bar));
gtk_view_panel_scroll_to_address(vpanel, addr);
+ delete_vmpa(addr);
+
}
gtk_widget_destroy(dialog);