summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-12-16 21:55:04 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-12-16 21:55:04 (GMT)
commit64e09a6c3e39785975b5322973ed83734cedb82e (patch)
treea87d29cca9d86ccd26676460282ddf59c4e9cb17 /src/main.c
parent2581d80875304c466e8930dbe67986ceb95752b2 (diff)
Reintroduced the delayed disassembling of binaries.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@304 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 09d9998..8612b1d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -117,6 +117,7 @@ int main(int argc, char **argv)
/* init threads */
g_thread_init(NULL);
gdk_threads_init();
+ gdk_threads_enter();
/* Initialisation de GTK */
setlocale (LC_ALL, "");
@@ -160,9 +161,8 @@ int main(int argc, char **argv)
/* Exécution du programme */
- //gdk_threads_enter();
gtk_main();
- //gdk_threads_leave();
+ gdk_threads_leave();
exit_global_pango_context();