summaryrefslogtreecommitdiff
path: root/src/project.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/project.c')
-rw-r--r--src/project.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/project.c b/src/project.c
index ca49954..8a8f803 100644
--- a/src/project.c
+++ b/src/project.c
@@ -325,12 +325,14 @@ void g_study_project_add_loaded_binary(GLoadedBinary *binary, GStudyProject *pro
{
size_t index; /* Indice du nouveau binaire */
+ gdk_threads_enter();
+
index = g_study_project_attach_binary(project, binary);
g_panel_item_dock(G_PANEL_ITEM(project->binaries[index]->item));
- //gdk_flush ();
- //gdk_threads_leave();
+ gdk_flush();
+ gdk_threads_leave();
}