summaryrefslogtreecommitdiff
path: root/src/analysis/db/items
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-11-11 21:22:38 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-11-11 21:22:38 (GMT)
commitdb934f20598340772f8c0256c8a8119790a1821e (patch)
treed03e57cc5fc953fc3e7653da74a8c58fd310de5d /src/analysis/db/items
parent2df715e74d6600ed0a5688a43f6ecd873957326a (diff)
Prepared the new organization of display widgets.
Diffstat (limited to 'src/analysis/db/items')
-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);