summaryrefslogtreecommitdiff
path: root/src/analysis/db
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/db')
-rw-r--r--src/analysis/db/items/move.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/analysis/db/items/move.c b/src/analysis/db/items/move.c
index 14bc3bf..40d486c 100644
--- a/src/analysis/db/items/move.c
+++ b/src/analysis/db/items/move.c
@@ -37,7 +37,7 @@
#include "../item-int.h"
#include "../../../common/io.h"
#include "../../../gui/editem.h"
-#include "../../../gtkext/gtkviewpanel.h"
+#include "../../../gtkext/gtkdisplaypanel.h"
@@ -423,11 +423,11 @@ static void g_db_move_build_label(GDbMove *move)
static bool g_db_move_run(const GDbMove *move, const vmpa2t *addr)
{
- GtkViewPanel *vpanel; /* Afficheur effectif de code */
+ GtkDisplayPanel *panel; /* Afficheur effectif de code */
typedef struct _move_params
{
- GtkViewPanel *vpanel; /* Afficheur effectif de code */
+ GtkDisplayPanel *panel; /* Afficheur effectif de code */
vmpa2t addr; /* Adresse de déplacement */
} move_params;
@@ -438,7 +438,7 @@ static bool g_db_move_run(const GDbMove *move, const vmpa2t *addr)
void delete_move_params(move_params *p)
{
- g_object_unref(G_OBJECT(p->vpanel));
+ g_object_unref(G_OBJECT(p->panel));
free(p);
@@ -448,7 +448,7 @@ static bool g_db_move_run(const GDbMove *move, const vmpa2t *addr)
gboolean do_move_in_main_loop(move_params *p)
{
- gtk_view_panel_scroll_to_address(p->vpanel, &p->addr, SPT_CENTER);
+ gtk_display_panel_scroll_to_address(p->panel, &p->addr, SPT_CENTER);
return G_SOURCE_REMOVE;
@@ -456,14 +456,14 @@ static bool g_db_move_run(const GDbMove *move, const vmpa2t *addr)
/* Lancement de l'opération */
- vpanel = g_editor_item_get_current_view(NULL);
+ panel = g_editor_item_get_current_view(NULL);
- if (vpanel != NULL)
+ if (panel != NULL)
{
params = (move_params *)calloc(1, sizeof(move_params));
- params->vpanel = vpanel;
- g_object_ref(G_OBJECT(vpanel));
+ params->panel = panel;
+ g_object_ref(G_OBJECT(panel));
copy_vmpa(&params->addr, addr);