summaryrefslogtreecommitdiff
path: root/plugins/ropgadgets
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ropgadgets')
-rw-r--r--plugins/ropgadgets/select.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/ropgadgets/select.c b/plugins/ropgadgets/select.c
index 9f1b69e..e8ee8c3 100644
--- a/plugins/ropgadgets/select.c
+++ b/plugins/ropgadgets/select.c
@@ -503,7 +503,7 @@ static GtkWidget *load_and_populate_current_project_binaries(GObject *ref)
{
GtkWidget *result; /* Composant à retourner */
GStudyProject *project; /* Projet courant */
- GLoadedBinary *current; /* Binaire actif courant */
+ GLoadedContent *current; /* Contenu actif courant */
gint selected; /* Indice à sélectionner */
GtkListStore *store; /* Modèle de gestion en liste */
GLoadedContent **contents; /* Liste de contenus chargés */
@@ -517,7 +517,7 @@ static GtkWidget *load_and_populate_current_project_binaries(GObject *ref)
project = get_current_project();
- current = get_current_binary();
+ current = get_current_content();
/* Constitution d'une liste de binaires courants */
@@ -541,7 +541,7 @@ static GtkWidget *load_and_populate_current_project_binaries(GObject *ref)
CPB_FILENAME, g_loaded_binary_get_name(binary, true),
-1);
- if (binary == current)
+ if (binary == (GLoadedBinary *)current)
selected = i;
}