]> Pileus Git - grits/blob - src/gtk.suppression
1b53be41c1c9c93dc175e843a82a32d3fc956526
[grits] / src / gtk.suppression
1 # Andy Spencer <andy753421@gmail.com>
2 #
3 # Valgrind suppression file for Gtk+ 2.16
4
5 # GLib
6 {
7         g_type_register_static
8         Memcheck:Leak
9         ...
10         fun:g_type_register_static
11 }
12 {
13         g_param_spec
14         Memcheck:Leak
15         ...
16         fun:g_param_spec_*
17         ...
18         fun:g_object_new
19 }
20
21 # GTK+
22 {
23         gtk_init
24         Memcheck:Leak
25         ...
26         fun:gtk_init
27 }
28 {
29         gtk_style_new
30         Memcheck:Leak
31         ...
32         fun:gtk_style_new
33 }
34 {
35         gtk_rc_get_style
36         Memcheck:Leak
37         ...
38         fun:gtk_rc_get_style
39 }
40 {
41         gtk_icon_theme_has_icon
42         Memcheck:Leak
43         ...
44         fun:gtk_icon_theme_has_icon
45 }
46 #{
47 #       gtk_icon_theme_get
48 #       Memcheck:Leak
49 #       ...
50 #       fun:gtk_icon_theme_get*
51 #}
52 #{
53 #       gtk_icon_factory_lookup
54 #       Memcheck:Leak
55 #       ...
56 #       fun:gtk_icon_factory_lookup*
57 #}
58 {
59         gxk__for_display
60         Memcheck:Leak
61         ...
62         fun:g?k_*_for_display
63 }
64 {
65         gxk__for_screen
66         Memcheck:Leak
67         ...
68         fun:g?k_*_for_screen
69 }
70 {
71         gdk_gc_new
72         Memcheck:Leak
73         ...
74         fun:gdk_gc_new
75         ...
76         fun:gdk_window_end_paint
77 }
78 {
79         gtk_gc_get cached
80         Memcheck:Leak
81         ...
82         fun:g_cache_insert
83         fun:gtk_gc_get
84 }
85 {
86         gdk_x11_window_set_user_time
87         Memcheck:Leak
88         ...
89         fun:gdk_x11_window_set_user_time 
90 }
91 {
92         gdk_x11_window_set_user_time
93         Memcheck:Leak
94         ...
95         fun:gdk_x11_window_set_user_time 
96 }
97 {
98         gtk_widget_realize 1
99         Memcheck:Leak
100         ...
101         fun:g_slice_alloc
102         ...
103         fun:gtk_widget_realize
104 }
105 {
106         gtk_widget_realize 2
107         Memcheck:Leak
108         ...
109         fun:gdk_window_new
110         ...
111         fun:gtk_widget_realize
112 }
113 {
114         gdk_window_invalidate_region
115         Memcheck:Leak
116         ...
117         fun:gdk_region_*
118         fun:gdk_window_invalidate_maybe_recurse
119 }
120 {
121         gtk_container_check_resize
122         Memcheck:Leak
123         ...
124         fun:gdk_window_process_updates
125         ...
126         fun:gtk_container_check_resize
127 }
128 {
129         weak_pointer
130         Memcheck:Leak
131         ...
132         fun:g_object_weak_ref
133         fun:g_object_add_weak_pointer
134         obj:*/libgtk-*
135         obj:*/libgtk-*
136         fun:gtk_main_do_event
137 }
138 {
139         gtk_window_new
140         Memcheck:Leak
141         ...
142         fun:g_type_create_instance
143         fun:g_object_constructor
144         fun:g_object_newv
145         fun:g_object_new_valist
146         fun:g_object_new
147         fun:gtk_window_new
148 }
149
150 # Pango
151 {
152         pango_ot_ruleset_new
153         Memcheck:Leak
154         ...
155         fun:pango_ot_ruleset_new*
156 }
157 {
158         pango_font_map_load_fontset
159         Memcheck:Leak
160         ...
161         fun:pango_font_map_load_fontset
162 }
163 {
164         pango_font_map_create_context
165         Memcheck:Leak
166         ...
167         fun:pango_font_map_create_context
168 }
169 {
170         pango__font_glyph_extents
171         Memcheck:Leak
172         ...
173         fun:pango_font_get_glyph_extents
174 }
175 {
176         pango_coverage_set
177         Memcheck:Leak
178         ...
179         fun:pango_coverage_set
180 }
181
182 # Cairo
183 {
184         cairo__font_create
185         Memcheck:Leak
186         ...
187         fun:cairo_*_font_create
188 }
189 {
190         cairo__font_face_create
191         Memcheck:Leak
192         ...
193         fun:cairo_*_font_face_create*
194 }
195 {
196         cairo__font_glyph_extents
197         Memcheck:Leak
198         ...
199         fun:cairo_*_font_glyph_extents
200 }
201 {
202         cairo_show_glyphs
203         Memcheck:Leak
204         ...
205         fun:cairo_show_glyphs
206 }
207
208 # Fontconfig
209 {
210         FcFontRenderPrepare
211         Memcheck:Leak
212         ...
213         fun:FcFontRenderPrepare
214 }
215
216 # OpenGL
217 #{
218 #       OpenGL memleak
219 #       Memcheck:Leak
220 #       ...
221 #       fun:*alloc
222 #       obj:*/libGL*
223 #}
224 #{
225 #       OpenGL uninitalized
226 #       Memcheck:Cond
227 #       obj:*/libGL*
228 #}