From c5b8795f9e3202205974fd18a3846ae0ebbf708a Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Tue, 15 May 2012 17:11:27 -0500 Subject: add gdk_flush per doco and call XInitThreads per some posting on the net --- xxxterm.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xxxterm.c') diff --git a/xxxterm.c b/xxxterm.c index 3a9695e..b084bff 100644 --- a/xxxterm.c +++ b/xxxterm.c @@ -3435,6 +3435,7 @@ color_address_bar(gpointer p) u = g_strdup(uri); #ifdef USE_THREADS + gdk_flush(); gdk_threads_leave(); #endif @@ -3506,6 +3507,7 @@ done: if (u) g_free((gpointer)u); #ifdef USE_THREADS + gdk_flush(); gdk_threads_leave(); #endif } @@ -7685,6 +7687,7 @@ main(int argc, char **argv) /* prepare gtk */ #ifdef USE_THREADS + XInitThreads(); g_thread_init(NULL); gdk_threads_set_lock_functions(mtx_lock, mtx_unlock); gdk_threads_init(); @@ -8060,6 +8063,7 @@ main(int argc, char **argv) gtk_main(); #ifdef USE_THREADS + gdk_flush(); gdk_threads_leave(); g_static_rec_mutex_unlock_full(&my_gdk_mtx); /* just in case */ #endif -- cgit 1.4.1-2-gfad0 'sub right'>danisanti <danisanti@tilde.institute>
about summary refs log tree commit diff stats
path: root/tests/functionaltests/test_connect.c
blob: 08d60412f2b6aad49d0e26379bbf7d705507f637 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95