summaryrefslogtreecommitdiff
path: root/plugins/ropgadgets
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-07-16 20:11:21 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-07-16 20:11:21 (GMT)
commitf6e56cebfa878dd32a2405fd0c916a40140a1ff0 (patch)
tree3e364d2e2b2de19b85ab6d14f856d4b8db11737a /plugins/ropgadgets
parente0d03e3eddb9d240cc21ac1b7a7ade915fd17942 (diff)
Applied a new GUI update with the new loaded panels features.
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;
}