diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2014-06-02 21:44:42 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2014-06-02 21:44:42 (GMT) |
commit | df10d1301618658d0a9faed78b8f3e30872e52ce (patch) | |
tree | 71bf51eeba60a938b4c1b6f1aaab4f60bcb61282 /src/main.c | |
parent | a6f34ced4fa495a78ccc0be360233d64dbb2c6d8 (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/main.c')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -114,10 +114,6 @@ int main(int argc, char **argv) bindtextdomain(PACKAGE, LOCALE_DIR); textdomain(PACKAGE); - /* init threads */ - gdk_threads_init(); - gdk_threads_enter(); - /* Initialisation de GTK */ g_set_prgname("Chrysalide"); setlocale (LC_ALL, ""); @@ -190,7 +186,6 @@ int main(int argc, char **argv) /* Exécution du programme */ gtk_main(); - gdk_threads_leave(); g_db_server_stop(server); |