summaryrefslogtreecommitdiff
path: root/src/project.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2014-06-02 21:44:42 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2014-06-02 21:44:42 (GMT)
commitdf10d1301618658d0a9faed78b8f3e30872e52ce (patch)
tree71bf51eeba60a938b4c1b6f1aaab4f60bcb61282 /src/project.c
parenta6f34ced4fa495a78ccc0be360233d64dbb2c6d8 (diff)
Removed all references to gdk_threads_* as calls have to be made from the main thread.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@375 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/project.c')
-rw-r--r--src/project.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/project.c b/src/project.c
index fa5863a..9c4c636 100644
--- a/src/project.c
+++ b/src/project.c
@@ -324,15 +324,10 @@ 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();
-
}
@@ -367,8 +362,6 @@ size_t g_study_project_attach_binary(GStudyProject *project, GLoadedBinary *bina
{
/* Préparation du support visuel */
- //gdk_threads_enter();
-
switch (i)
{
case BVW_BLOCK:
@@ -389,9 +382,6 @@ size_t g_study_project_attach_binary(GStudyProject *project, GLoadedBinary *bina
gtk_widget_show(view);
- //gdk_flush();
- //gdk_threads_leave();
-
loaded->views[i] = GTK_VIEW_PANEL(view);
gtk_view_panel_attach_binary(loaded->views[i], binary,
@@ -400,8 +390,6 @@ size_t g_study_project_attach_binary(GStudyProject *project, GLoadedBinary *bina
/* Intégration finale dans un support défilant */
- //gdk_threads_enter();
-
scroll = qck_create_scrolled_window(NULL, NULL);
gtk_container_add(GTK_CONTAINER(scroll), view);