diff options
author | jstebbins <[email protected]> | 2008-11-25 21:41:23 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2008-11-25 21:41:23 +0000 |
commit | 54c7e6f7e9f5c2bb57fcca2808fce07aaf0589c9 (patch) | |
tree | 90538fbf6bd535335c1067f41fbc8fa1bbba8efd /gtk/src/main.c | |
parent | 98d6ebb52840ae25250364cdc002a97560d6c3f1 (diff) |
LinGui: make socket connect for appcast run in its own thread. prevents
long delay at startup when there are network issues.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1954 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/main.c')
-rw-r--r-- | gtk/src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/src/main.c b/gtk/src/main.c index 061364b02..9f7b940d3 100644 --- a/gtk/src/main.c +++ b/gtk/src/main.c @@ -618,7 +618,7 @@ main (int argc, char *argv[]) } // Reload and check status of the last saved queue g_idle_add((GSourceFunc)ghb_reload_queue, ud); - g_idle_add((GSourceFunc)ghb_check_update, ud); + g_thread_create((GThreadFunc)ghb_check_update, ud, FALSE, NULL); // Start timer for monitoring libhb status, 500ms g_timeout_add (500, ghb_timer_cb, (gpointer)ud); // Everything should be go-to-go. Lets rock! |