summaryrefslogtreecommitdiff
path: root/src/main.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/main.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/main.c')
-rw-r--r--src/main.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main.c b/src/main.c
index b1d30df..618bef3 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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);