Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 246414
Collapse All | Expand All

(-)src/gtk_main.cpp.orig (-3 / +7 lines)
Lines 33-38 Link Here
33
33
34
int main(int argc, char ** argv)
34
int main(int argc, char ** argv)
35
{
35
{
36
#ifdef ENABLE_THREADS
37
38
    g_thread_init(NULL);
39
	gdk_threads_init();
40
41
#endif	// ENABLE_THREADS
42
36
	GError * error = NULL;
43
	GError * error = NULL;
37
	
44
	
38
	GOptionContext * option_context = g_option_context_new("- a GTK2 molecular modelling program");
45
	GOptionContext * option_context = g_option_context_new("- a GTK2 molecular modelling program");
Lines 46-54 Link Here
46
	
53
	
47
#ifdef ENABLE_THREADS
54
#ifdef ENABLE_THREADS
48
	
55
	
49
	g_thread_init(NULL);
50
	gdk_threads_init();
51
	
52
	gdk_threads_enter();
56
	gdk_threads_enter();
53
	
57
	
54
#endif	// ENABLE_THREADS
58
#endif	// ENABLE_THREADS

Return to bug 246414