summaryrefslogtreecommitdiff
path: root/src/gui/tb
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/gui/tb
parent2df715e74d6600ed0a5688a43f6ecd873957326a (diff)
Prepared the new organization of display widgets.
Diffstat (limited to 'src/gui/tb')
-rw-r--r--src/gui/tb/portions.c6
-rw-r--r--src/gui/tb/source.c10
2 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/tb/portions.c b/src/gui/tb/portions.c
index afe78b3..3014de8 100644
--- a/src/gui/tb/portions.c
+++ b/src/gui/tb/portions.c
@@ -241,12 +241,12 @@ static void update_portions_item_binary(GEditorItem *item, GLoadedBinary *binary
static void track_address_on_binary_strip(GtkBinaryStrip *strip, GEditorItem *item)
{
const vmpa2t *addr; /* Nouvelle destination */
- GtkViewPanel *vpanel; /* Afficheur effectif de code */
+ GtkDisplayPanel *panel; /* Afficheur effectif de code */
addr = gtk_binary_strip_get_location(strip);
- vpanel = g_editor_item_get_current_view(item);
- gtk_view_panel_request_move(vpanel, addr);
+ panel = g_editor_item_get_current_view(item);
+ gtk_display_panel_request_move(panel, addr);
focus_address_in_editor_items(g_editor_item_get_current_binary(item), addr, item);
diff --git a/src/gui/tb/source.c b/src/gui/tb/source.c
index 02ed643..504c532 100644
--- a/src/gui/tb/source.c
+++ b/src/gui/tb/source.c
@@ -69,7 +69,7 @@ static void g_source_tbitem_finalize(GSourceTbItem *);
static void update_source_item_binary(GEditorItem *, GLoadedBinary *);
/* Réagit à un changement de panneau d'affichage courant. */
-static void update_source_item_view(GEditorItem *, GtkViewPanel *);
+static void update_source_item_view(GEditorItem *, GtkDisplayPanel *);
/* Réagit à un changement de sélection de la source courante. */
static void change_selected_source(GtkComboBox *, GSourceTbItem *);
@@ -269,8 +269,8 @@ static void update_source_item_binary(GEditorItem *item, GLoadedBinary *binary)
/******************************************************************************
* *
-* Paramètres : item = élément réactif sollicité. *
-* view = nouveau panneau d'affichage actif. *
+* Paramètres : item = élément réactif sollicité. *
+* panel = nouveau panneau d'affichage actif. *
* *
* Description : Réagit à un changement de panneau d'affichage courant. *
* *
@@ -280,9 +280,9 @@ static void update_source_item_binary(GEditorItem *item, GLoadedBinary *binary)
* *
******************************************************************************/
-static void update_source_item_view(GEditorItem *item, GtkViewPanel *view)
+static void update_source_item_view(GEditorItem *item, GtkDisplayPanel *panel)
{
- gtk_widget_set_sensitive(item->widget, GTK_IS_SOURCE_VIEW(view));
+ gtk_widget_set_sensitive(item->widget, GTK_IS_SOURCE_VIEW(panel));
}