Coverage Report

Created: 2018-09-25 14:53

/src/mozilla-central/widget/gtk/mozgtk/mozgtk.c
Line
Count
Source (jump to first uncovered line)
1
#include "mozilla/Types.h"
2
#include "mozilla/Assertions.h"
3
4
0
#define STUB(symbol) MOZ_EXPORT void symbol (void) { MOZ_CRASH(); }
Unexecuted instantiation: gdk_drawable_get_screen
Unexecuted instantiation: gdk_rgb_get_colormap
Unexecuted instantiation: gdk_rgb_get_visual
Unexecuted instantiation: gdk_window_lookup
Unexecuted instantiation: gdk_window_set_back_pixmap
Unexecuted instantiation: gdk_x11_colormap_foreign_new
Unexecuted instantiation: gdk_x11_colormap_get_xcolormap
Unexecuted instantiation: gdk_x11_drawable_get_xdisplay
Unexecuted instantiation: gdk_x11_drawable_get_xid
Unexecuted instantiation: gdk_x11_window_get_drawable_impl
Unexecuted instantiation: gdkx_visual_get
Unexecuted instantiation: gtk_object_get_type
5
6
#ifdef COMMON_SYMBOLS
7
STUB(gdk_atom_intern)
8
STUB(gdk_atom_name)
9
STUB(gdk_beep)
10
STUB(gdk_cairo_create)
11
STUB(gdk_color_free)
12
STUB(gdk_color_parse)
13
STUB(gdk_cursor_new_for_display)
14
STUB(gdk_cursor_new_from_name)
15
STUB(gdk_cursor_new_from_pixbuf)
16
STUB(gdk_display_close)
17
STUB(gdk_display_get_default)
18
STUB(gdk_display_get_default_screen)
19
STUB(gdk_display_get_pointer)
20
STUB(gdk_display_get_window_at_pointer)
21
STUB(gdk_display_manager_get)
22
STUB(gdk_display_manager_set_default_display)
23
STUB(gdk_display_open)
24
STUB(gdk_display_sync)
25
STUB(gdk_display_warp_pointer)
26
STUB(gdk_drag_context_get_actions)
27
STUB(gdk_drag_context_get_dest_window)
28
STUB(gdk_drag_context_list_targets)
29
STUB(gdk_drag_status)
30
STUB(gdk_error_trap_pop)
31
STUB(gdk_error_trap_push)
32
STUB(gdk_event_copy)
33
STUB(gdk_event_free)
34
STUB(gdk_event_get_axis)
35
STUB(gdk_event_get_time)
36
STUB(gdk_event_handler_set)
37
STUB(gdk_event_peek)
38
STUB(gdk_event_put)
39
STUB(gdk_flush)
40
STUB(gdk_get_default_root_window)
41
STUB(gdk_get_display)
42
STUB(gdk_get_display_arg_name)
43
STUB(gdk_get_program_class)
44
STUB(gdk_keymap_get_default)
45
STUB(gdk_keymap_get_direction)
46
STUB(gdk_keymap_get_entries_for_keyval)
47
STUB(gdk_keymap_get_for_display)
48
STUB(gdk_keymap_have_bidi_layouts)
49
STUB(gdk_keymap_translate_keyboard_state)
50
STUB(gdk_keyval_name)
51
STUB(gdk_keyval_to_unicode)
52
STUB(gdk_pango_context_get)
53
STUB(gdk_pointer_grab)
54
STUB(gdk_pointer_ungrab)
55
STUB(gdk_property_change)
56
STUB(gdk_property_get)
57
STUB(gdk_screen_get_default)
58
STUB(gdk_screen_get_display)
59
STUB(gdk_screen_get_font_options)
60
STUB(gdk_screen_get_height)
61
STUB(gdk_screen_get_height_mm)
62
STUB(gdk_screen_get_n_monitors)
63
STUB(gdk_screen_get_monitor_at_window)
64
STUB(gdk_screen_get_monitor_geometry)
65
STUB(gdk_screen_get_monitor_height_mm)
66
STUB(gdk_screen_get_number)
67
STUB(gdk_screen_get_resolution)
68
STUB(gdk_screen_get_rgba_visual)
69
STUB(gdk_screen_get_root_window)
70
STUB(gdk_screen_get_system_visual)
71
STUB(gdk_screen_get_width)
72
STUB(gdk_screen_height)
73
STUB(gdk_screen_is_composited)
74
STUB(gdk_screen_width)
75
STUB(gdk_selection_owner_get)
76
STUB(gdk_set_program_class)
77
STUB(gdk_unicode_to_keyval)
78
STUB(gdk_visual_get_depth)
79
STUB(gdk_visual_get_system)
80
STUB(gdk_window_add_filter)
81
STUB(gdk_window_begin_move_drag)
82
STUB(gdk_window_begin_resize_drag)
83
STUB(gdk_window_destroy)
84
STUB(gdk_window_focus)
85
STUB(gdk_window_get_children)
86
STUB(gdk_window_get_display)
87
STUB(gdk_window_get_events)
88
STUB(gdk_window_get_geometry)
89
STUB(gdk_window_get_height)
90
STUB(gdk_window_get_origin)
91
STUB(gdk_window_get_parent)
92
STUB(gdk_window_get_position)
93
STUB(gdk_window_get_root_origin)
94
STUB(gdk_window_get_screen)
95
STUB(gdk_window_get_state)
96
STUB(gdk_window_get_toplevel)
97
STUB(gdk_window_get_update_area)
98
STUB(gdk_window_get_user_data)
99
STUB(gdk_window_get_visual)
100
STUB(gdk_window_get_width)
101
STUB(gdk_window_get_window_type)
102
STUB(gdk_window_hide)
103
STUB(gdk_window_input_shape_combine_region)
104
STUB(gdk_window_invalidate_rect)
105
STUB(gdk_window_invalidate_region)
106
STUB(gdk_window_is_destroyed)
107
STUB(gdk_window_is_visible)
108
STUB(gdk_window_lower)
109
STUB(gdk_window_move)
110
STUB(gdk_window_move_resize)
111
STUB(gdk_window_new)
112
STUB(gdk_window_peek_children)
113
STUB(gdk_window_process_updates)
114
STUB(gdk_window_raise)
115
STUB(gdk_window_remove_filter)
116
STUB(gdk_window_reparent)
117
STUB(gdk_window_resize)
118
STUB(gdk_window_set_cursor)
119
STUB(gdk_window_set_debug_updates)
120
STUB(gdk_window_set_decorations)
121
STUB(gdk_window_set_events)
122
STUB(gdk_window_set_role)
123
STUB(gdk_window_set_urgency_hint)
124
STUB(gdk_window_set_user_data)
125
STUB(gdk_window_shape_combine_region)
126
STUB(gdk_window_show)
127
STUB(gdk_window_show_unraised)
128
STUB(gdk_x11_atom_to_xatom)
129
STUB(gdk_x11_display_get_user_time)
130
STUB(gdk_x11_display_get_xdisplay)
131
STUB(gdk_x11_get_default_root_xwindow)
132
STUB(gdk_x11_get_default_xdisplay)
133
STUB(gdk_x11_get_server_time)
134
STUB(gdk_x11_get_xatom_by_name)
135
STUB(gdk_x11_get_xatom_by_name_for_display)
136
STUB(gdk_x11_lookup_xdisplay)
137
STUB(gdk_x11_screen_get_xscreen)
138
STUB(gdk_x11_screen_get_screen_number)
139
STUB(gdk_x11_screen_lookup_visual)
140
STUB(gdk_x11_screen_supports_net_wm_hint)
141
STUB(gdk_x11_visual_get_xvisual)
142
STUB(gdk_x11_window_foreign_new_for_display)
143
STUB(gdk_x11_window_lookup_for_display)
144
STUB(gdk_x11_window_set_user_time)
145
STUB(gdk_x11_xatom_to_atom)
146
STUB(gdk_x11_set_sm_client_id)
147
STUB(gtk_accel_label_new)
148
STUB(gtk_alignment_get_type)
149
STUB(gtk_alignment_new)
150
STUB(gtk_alignment_set_padding)
151
STUB(gtk_arrow_get_type)
152
STUB(gtk_arrow_new)
153
STUB(gtk_bindings_activate)
154
STUB(gtk_bin_get_child)
155
STUB(gtk_bin_get_type)
156
STUB(gtk_border_free)
157
STUB(gtk_box_get_type)
158
STUB(gtk_box_pack_start)
159
STUB(gtk_button_new)
160
STUB(gtk_button_new_with_label)
161
STUB(gtk_check_button_new_with_label)
162
STUB(gtk_check_button_new_with_mnemonic)
163
STUB(gtk_check_menu_item_new)
164
STUB(gtk_check_version)
165
STUB(gtk_clipboard_clear)
166
STUB(gtk_clipboard_get)
167
STUB(gtk_clipboard_request_contents)
168
STUB(gtk_clipboard_request_text)
169
STUB(gtk_clipboard_set_can_store)
170
STUB(gtk_clipboard_set_with_data)
171
STUB(gtk_clipboard_store)
172
STUB(gtk_color_selection_dialog_get_color_selection)
173
STUB(gtk_color_selection_dialog_get_type)
174
STUB(gtk_color_selection_dialog_new)
175
STUB(gtk_color_selection_get_current_color)
176
STUB(gtk_color_selection_get_type)
177
STUB(gtk_color_selection_set_current_color)
178
STUB(gtk_combo_box_get_active)
179
STUB(gtk_combo_box_get_type)
180
STUB(gtk_combo_box_new)
181
STUB(gtk_combo_box_new_with_entry)
182
STUB(gtk_combo_box_set_active)
183
STUB(gtk_combo_box_text_get_type)
184
STUB(gtk_combo_box_text_new)
185
STUB(gtk_container_add)
186
STUB(gtk_container_forall)
187
STUB(gtk_container_get_border_width)
188
STUB(gtk_container_get_type)
189
STUB(gtk_container_set_border_width)
190
STUB(gtk_container_set_resize_mode)
191
STUB(gtk_dialog_get_content_area)
192
STUB(gtk_dialog_get_type)
193
STUB(gtk_dialog_new_with_buttons)
194
STUB(gtk_dialog_run)
195
STUB(gtk_dialog_set_alternative_button_order)
196
STUB(gtk_dialog_set_default_response)
197
STUB(gtk_drag_begin)
198
STUB(gtk_drag_dest_set)
199
STUB(gtk_drag_finish)
200
STUB(gtk_drag_get_data)
201
STUB(gtk_drag_get_source_widget)
202
STUB(gtk_drag_set_icon_pixbuf)
203
STUB(gtk_drag_set_icon_widget)
204
STUB(gtk_editable_get_type)
205
STUB(gtk_editable_select_region)
206
STUB(gtk_entry_get_text)
207
STUB(gtk_entry_get_type)
208
STUB(gtk_entry_new)
209
STUB(gtk_entry_set_activates_default)
210
STUB(gtk_entry_set_text)
211
STUB(gtk_enumerate_printers)
212
STUB(gtk_expander_new)
213
STUB(gtk_file_chooser_add_filter)
214
STUB(gtk_file_chooser_dialog_new)
215
STUB(gtk_file_chooser_get_filenames)
216
STUB(gtk_file_chooser_get_filter)
217
STUB(gtk_file_chooser_get_preview_filename)
218
STUB(gtk_file_chooser_get_type)
219
STUB(gtk_file_chooser_get_uri)
220
STUB(gtk_file_chooser_list_filters)
221
STUB(gtk_file_chooser_set_current_folder)
222
STUB(gtk_file_chooser_set_current_name)
223
STUB(gtk_file_chooser_set_do_overwrite_confirmation)
224
STUB(gtk_file_chooser_set_filename)
225
STUB(gtk_file_chooser_set_filter)
226
STUB(gtk_file_chooser_set_local_only)
227
STUB(gtk_file_chooser_set_preview_widget)
228
STUB(gtk_file_chooser_set_preview_widget_active)
229
STUB(gtk_file_chooser_set_select_multiple)
230
STUB(gtk_file_chooser_widget_get_type)
231
STUB(gtk_file_filter_add_pattern)
232
STUB(gtk_file_filter_new)
233
STUB(gtk_file_filter_set_name)
234
STUB(gtk_fixed_new)
235
STUB(gtk_frame_new)
236
STUB(gtk_get_current_event_time)
237
STUB(gtk_grab_add)
238
STUB(gtk_grab_remove)
239
STUB(gtk_handle_box_new)
240
STUB(gtk_hbox_new)
241
STUB(gtk_icon_info_free)
242
STUB(gtk_icon_info_load_icon)
243
STUB(gtk_icon_set_add_source)
244
STUB(gtk_icon_set_new)
245
STUB(gtk_icon_set_render_icon)
246
STUB(gtk_icon_set_unref)
247
STUB(gtk_icon_size_lookup)
248
STUB(gtk_icon_source_free)
249
STUB(gtk_icon_source_new)
250
STUB(gtk_icon_source_set_icon_name)
251
STUB(gtk_icon_theme_add_builtin_icon)
252
STUB(gtk_icon_theme_get_default)
253
STUB(gtk_icon_theme_get_icon_sizes)
254
STUB(gtk_icon_theme_lookup_by_gicon)
255
STUB(gtk_icon_theme_lookup_icon)
256
STUB(gtk_image_get_icon_name)
257
STUB(gtk_image_get_type)
258
STUB(gtk_image_new)
259
STUB(gtk_image_new_from_icon_name)
260
STUB(gtk_image_new_from_stock)
261
STUB(gtk_image_set_from_pixbuf)
262
STUB(gtk_im_context_filter_keypress)
263
STUB(gtk_im_context_focus_in)
264
STUB(gtk_im_context_focus_out)
265
STUB(gtk_im_context_get_preedit_string)
266
STUB(gtk_im_context_reset)
267
STUB(gtk_im_context_set_client_window)
268
STUB(gtk_im_context_set_cursor_location)
269
STUB(gtk_im_context_set_surrounding)
270
STUB(gtk_im_context_simple_new)
271
STUB(gtk_im_multicontext_get_context_id)
272
STUB(gtk_im_multicontext_get_type)
273
STUB(gtk_im_multicontext_new)
274
STUB(gtk_info_bar_get_type)
275
STUB(gtk_info_bar_get_content_area)
276
STUB(gtk_info_bar_new)
277
STUB(gtk_init)
278
STUB(gtk_invisible_new)
279
STUB(gtk_key_snooper_install)
280
STUB(gtk_key_snooper_remove)
281
STUB(gtk_label_get_type)
282
STUB(gtk_label_new)
283
STUB(gtk_label_set_markup)
284
STUB(gtk_link_button_new)
285
STUB(gtk_main_do_event)
286
STUB(gtk_main_iteration)
287
STUB(gtk_menu_attach_to_widget)
288
STUB(gtk_menu_bar_new)
289
STUB(gtk_menu_get_type)
290
STUB(gtk_menu_item_get_type)
291
STUB(gtk_menu_item_new)
292
STUB(gtk_menu_item_set_submenu)
293
STUB(gtk_menu_new)
294
STUB(gtk_menu_shell_append)
295
STUB(gtk_menu_shell_get_type)
296
STUB(gtk_misc_get_alignment)
297
STUB(gtk_misc_get_padding)
298
STUB(gtk_misc_get_type)
299
STUB(gtk_misc_set_alignment)
300
STUB(gtk_misc_set_padding)
301
STUB(gtk_notebook_new)
302
STUB(gtk_page_setup_copy)
303
STUB(gtk_page_setup_get_bottom_margin)
304
STUB(gtk_page_setup_get_left_margin)
305
STUB(gtk_page_setup_get_orientation)
306
STUB(gtk_page_setup_get_paper_size)
307
STUB(gtk_page_setup_get_right_margin)
308
STUB(gtk_page_setup_get_top_margin)
309
STUB(gtk_page_setup_new)
310
STUB(gtk_page_setup_set_bottom_margin)
311
STUB(gtk_page_setup_set_left_margin)
312
STUB(gtk_page_setup_set_orientation)
313
STUB(gtk_page_setup_set_paper_size)
314
STUB(gtk_page_setup_set_paper_size_and_default_margins)
315
STUB(gtk_page_setup_set_right_margin)
316
STUB(gtk_page_setup_set_top_margin)
317
STUB(gtk_paper_size_free)
318
STUB(gtk_paper_size_get_display_name)
319
STUB(gtk_paper_size_get_height)
320
STUB(gtk_paper_size_get_name)
321
STUB(gtk_paper_size_get_width)
322
STUB(gtk_paper_size_is_custom)
323
STUB(gtk_paper_size_is_equal)
324
STUB(gtk_paper_size_new)
325
STUB(gtk_paper_size_new_custom)
326
STUB(gtk_paper_size_set_size)
327
STUB(gtk_parse_args)
328
STUB(gtk_plug_get_socket_window)
329
STUB(gtk_plug_get_type)
330
STUB(gtk_printer_accepts_pdf)
331
STUB(gtk_printer_get_name)
332
STUB(gtk_printer_get_type)
333
STUB(gtk_printer_is_default)
334
STUB(gtk_print_job_new)
335
STUB(gtk_print_job_send)
336
STUB(gtk_print_job_set_source_file)
337
STUB(gtk_print_run_page_setup_dialog)
338
STUB(gtk_print_settings_copy)
339
STUB(gtk_print_settings_foreach)
340
STUB(gtk_print_settings_get)
341
STUB(gtk_print_settings_get_duplex)
342
STUB(gtk_print_settings_get_n_copies)
343
STUB(gtk_print_settings_get_page_ranges)
344
STUB(gtk_print_settings_get_paper_size)
345
STUB(gtk_print_settings_get_printer)
346
STUB(gtk_print_settings_get_print_pages)
347
STUB(gtk_print_settings_get_resolution)
348
STUB(gtk_print_settings_get_reverse)
349
STUB(gtk_print_settings_get_scale)
350
STUB(gtk_print_settings_get_use_color)
351
STUB(gtk_print_settings_has_key)
352
STUB(gtk_print_settings_new)
353
STUB(gtk_print_settings_set)
354
STUB(gtk_print_settings_set_duplex)
355
STUB(gtk_print_settings_set_n_copies)
356
STUB(gtk_print_settings_set_orientation)
357
STUB(gtk_print_settings_set_page_ranges)
358
STUB(gtk_print_settings_set_paper_size)
359
STUB(gtk_print_settings_set_printer)
360
STUB(gtk_print_settings_set_print_pages)
361
STUB(gtk_print_settings_set_resolution)
362
STUB(gtk_print_settings_set_reverse)
363
STUB(gtk_print_settings_set_scale)
364
STUB(gtk_print_settings_set_use_color)
365
STUB(gtk_print_unix_dialog_add_custom_tab)
366
STUB(gtk_print_unix_dialog_get_page_setup)
367
STUB(gtk_print_unix_dialog_get_selected_printer)
368
STUB(gtk_print_unix_dialog_get_settings)
369
STUB(gtk_print_unix_dialog_get_type)
370
STUB(gtk_print_unix_dialog_new)
371
STUB(gtk_print_unix_dialog_set_manual_capabilities)
372
STUB(gtk_print_unix_dialog_set_page_setup)
373
STUB(gtk_print_unix_dialog_set_settings)
374
STUB(gtk_progress_bar_new)
375
STUB(gtk_propagate_event)
376
STUB(gtk_radio_button_get_type)
377
STUB(gtk_radio_button_new_with_label)
378
STUB(gtk_radio_button_new_with_mnemonic)
379
STUB(gtk_radio_button_new_with_mnemonic_from_widget)
380
STUB(gtk_range_get_min_slider_size)
381
STUB(gtk_range_get_type)
382
STUB(gtk_recent_manager_add_item)
383
STUB(gtk_recent_manager_get_default)
384
STUB(gtk_scrollbar_get_type)
385
STUB(gtk_scrolled_window_new)
386
STUB(gtk_selection_data_copy)
387
STUB(gtk_selection_data_free)
388
STUB(gtk_selection_data_get_data)
389
STUB(gtk_selection_data_get_length)
390
STUB(gtk_selection_data_get_selection)
391
STUB(gtk_selection_data_get_target)
392
STUB(gtk_selection_data_get_targets)
393
STUB(gtk_selection_data_set)
394
STUB(gtk_selection_data_set_pixbuf)
395
STUB(gtk_selection_data_set_text)
396
STUB(gtk_selection_data_targets_include_text)
397
STUB(gtk_separator_get_type)
398
STUB(gtk_separator_menu_item_new)
399
STUB(gtk_separator_tool_item_new)
400
STUB(gtk_settings_get_default)
401
STUB(gtk_settings_get_for_screen)
402
STUB(gtk_show_uri)
403
STUB(gtk_socket_add_id)
404
STUB(gtk_socket_get_id)
405
STUB(gtk_socket_get_type)
406
STUB(gtk_socket_get_plug_window)
407
STUB(gtk_socket_new)
408
STUB(gtk_spin_button_new)
409
STUB(gtk_statusbar_new)
410
STUB(gtk_style_lookup_icon_set)
411
STUB(gtk_table_attach)
412
STUB(gtk_table_get_type)
413
STUB(gtk_table_new)
414
STUB(gtk_target_list_add)
415
STUB(gtk_target_list_add_image_targets)
416
STUB(gtk_target_list_new)
417
STUB(gtk_target_list_unref)
418
STUB(gtk_targets_include_image)
419
STUB(gtk_targets_include_text)
420
STUB(gtk_target_table_free)
421
STUB(gtk_target_table_new_from_list)
422
STUB(gtk_text_view_new)
423
STUB(gtk_toggle_button_get_active)
424
STUB(gtk_toggle_button_get_type)
425
STUB(gtk_toggle_button_new)
426
STUB(gtk_toggle_button_set_active)
427
STUB(gtk_toggle_button_set_inconsistent)
428
STUB(gtk_toolbar_new)
429
STUB(gtk_tooltip_get_type)
430
STUB(gtk_tree_view_append_column)
431
STUB(gtk_tree_view_column_new)
432
STUB(gtk_tree_view_column_set_title)
433
STUB(gtk_tree_view_get_type)
434
STUB(gtk_tree_view_new)
435
STUB(gtk_vbox_new)
436
STUB(gtk_widget_add_events)
437
STUB(gtk_widget_class_find_style_property)
438
STUB(gtk_widget_destroy)
439
STUB(gtk_widget_destroyed)
440
STUB(gtk_widget_ensure_style)
441
STUB(gtk_widget_event)
442
STUB(gtk_widget_get_accessible)
443
STUB(gtk_widget_get_allocation)
444
STUB(gtk_widget_get_default_direction)
445
STUB(gtk_widget_get_display)
446
STUB(gtk_widget_get_events)
447
STUB(gtk_widget_get_has_window)
448
STUB(gtk_widget_get_mapped)
449
STUB(gtk_widget_get_parent)
450
STUB(gtk_widget_get_parent_window)
451
STUB(gtk_widget_get_realized)
452
STUB(gtk_widget_get_screen)
453
STUB(gtk_widget_get_settings)
454
STUB(gtk_widget_get_style)
455
STUB(gtk_widget_get_toplevel)
456
STUB(gtk_widget_get_type)
457
STUB(gtk_widget_get_visible)
458
STUB(gtk_widget_get_visual)
459
STUB(gtk_widget_get_window)
460
STUB(gtk_widget_grab_focus)
461
STUB(gtk_widget_has_focus)
462
STUB(gtk_widget_has_grab)
463
STUB(gtk_widget_hide)
464
STUB(gtk_widget_is_focus)
465
STUB(gtk_widget_is_toplevel)
466
STUB(gtk_widget_map)
467
STUB(gtk_widget_modify_bg)
468
STUB(gtk_widget_realize)
469
STUB(gtk_widget_reparent)
470
STUB(gtk_widget_set_allocation)
471
STUB(gtk_widget_set_app_paintable)
472
STUB(gtk_window_set_auto_startup_notification)
473
STUB(gtk_window_set_opacity)
474
STUB(gtk_window_set_screen)
475
STUB(gtk_widget_set_can_focus)
476
STUB(gtk_widget_set_direction)
477
STUB(gtk_widget_set_double_buffered)
478
STUB(gtk_widget_set_has_window)
479
STUB(gtk_widget_set_mapped)
480
STUB(gtk_widget_set_name)
481
STUB(gtk_widget_set_parent)
482
STUB(gtk_widget_set_parent_window)
483
STUB(gtk_widget_set_realized)
484
STUB(gtk_widget_set_redraw_on_allocate)
485
STUB(gtk_widget_set_sensitive)
486
STUB(gtk_widget_set_window)
487
STUB(gtk_widget_show)
488
STUB(gtk_widget_show_all)
489
STUB(gtk_widget_size_allocate)
490
STUB(gtk_widget_style_get)
491
STUB(gtk_widget_unparent)
492
STUB(gtk_widget_unrealize)
493
STUB(gtk_window_deiconify)
494
STUB(gtk_window_fullscreen)
495
STUB(gtk_window_get_group)
496
STUB(gtk_window_get_transient_for)
497
STUB(gtk_window_get_type)
498
STUB(gtk_window_get_type_hint)
499
STUB(gtk_window_get_window_type)
500
STUB(gtk_window_group_add_window)
501
STUB(gtk_window_group_get_current_grab)
502
STUB(gtk_window_group_new)
503
STUB(gtk_window_iconify)
504
STUB(gtk_window_is_active)
505
STUB(gtk_window_maximize)
506
STUB(gtk_window_move)
507
STUB(gtk_window_new)
508
STUB(gtk_window_present_with_time)
509
STUB(gtk_window_resize)
510
STUB(gtk_window_set_accept_focus)
511
STUB(gtk_window_set_decorated)
512
STUB(gtk_window_set_deletable)
513
STUB(gtk_window_set_destroy_with_parent)
514
STUB(gtk_window_set_geometry_hints)
515
STUB(gtk_window_set_icon_name)
516
STUB(gtk_window_set_modal)
517
STUB(gtk_window_set_skip_taskbar_hint)
518
STUB(gtk_window_set_title)
519
STUB(gtk_window_set_transient_for)
520
STUB(gtk_window_set_type_hint)
521
STUB(gtk_window_set_wmclass)
522
STUB(gtk_window_unfullscreen)
523
STUB(gtk_window_unmaximize)
524
#endif
525
526
#ifdef GTK3_SYMBOLS
527
STUB(gtk_css_provider_load_from_data)
528
STUB(gtk_css_provider_new)
529
STUB(gdk_device_get_source)
530
STUB(gdk_device_manager_get_client_pointer)
531
STUB(gdk_disable_multidevice)
532
STUB(gdk_device_manager_list_devices)
533
STUB(gdk_display_get_device_manager)
534
STUB(gdk_display_manager_open_display)
535
STUB(gdk_error_trap_pop_ignored)
536
STUB(gdk_event_get_source_device)
537
STUB(gdk_screen_get_monitor_workarea)
538
STUB(gdk_window_get_type)
539
STUB(gdk_x11_window_get_xid)
540
STUB(gdk_x11_display_get_type)
541
STUB(gdk_wayland_display_get_type)
542
STUB(gtk_box_new)
543
STUB(gtk_cairo_should_draw_window)
544
STUB(gtk_cairo_transform_to_window)
545
STUB(gtk_combo_box_text_append)
546
STUB(gtk_drag_set_icon_surface)
547
STUB(gtk_get_major_version)
548
STUB(gtk_get_micro_version)
549
STUB(gtk_get_minor_version)
550
STUB(gtk_icon_info_load_symbolic_for_context)
551
STUB(gtk_menu_button_new)
552
STUB(gtk_offscreen_window_new)
553
STUB(gtk_paned_new)
554
STUB(gtk_radio_menu_item_new)
555
STUB(gtk_render_activity)
556
STUB(gtk_render_arrow)
557
STUB(gtk_render_background)
558
STUB(gtk_render_check)
559
STUB(gtk_render_expander)
560
STUB(gtk_render_extension)
561
STUB(gtk_render_focus)
562
STUB(gtk_render_frame)
563
STUB(gtk_render_frame_gap)
564
STUB(gtk_render_handle)
565
STUB(gtk_render_icon)
566
STUB(gtk_render_line)
567
STUB(gtk_render_option)
568
STUB(gtk_render_slider)
569
STUB(gtk_scale_new)
570
STUB(gtk_scrollbar_new)
571
STUB(gtk_style_context_add_class)
572
STUB(gtk_style_context_add_provider)
573
STUB(gtk_style_context_add_region)
574
STUB(gtk_style_context_get)
575
STUB(gtk_style_context_get_background_color)
576
STUB(gtk_style_context_get_border)
577
STUB(gtk_style_context_get_border_color)
578
STUB(gtk_style_context_get_color)
579
STUB(gtk_style_context_get_direction)
580
STUB(gtk_style_context_get_margin)
581
STUB(gtk_style_context_get_padding)
582
STUB(gtk_style_context_get_path)
583
STUB(gtk_style_context_get_property)
584
STUB(gtk_style_context_get_state)
585
STUB(gtk_style_context_get_style)
586
STUB(gtk_style_context_has_class)
587
STUB(gtk_style_context_invalidate)
588
STUB(gtk_style_context_list_classes)
589
STUB(gtk_style_context_new)
590
STUB(gtk_style_context_remove_class)
591
STUB(gtk_style_context_remove_region)
592
STUB(gtk_style_context_restore)
593
STUB(gtk_style_context_save)
594
STUB(gtk_style_context_set_direction)
595
STUB(gtk_style_context_set_path)
596
STUB(gtk_style_context_set_parent)
597
STUB(gtk_style_context_set_state)
598
STUB(gtk_style_properties_lookup_property)
599
STUB(gtk_style_provider_get_type)
600
STUB(gtk_tree_view_column_get_button)
601
STUB(gtk_widget_get_preferred_size)
602
STUB(gtk_widget_get_preferred_width)
603
STUB(gtk_widget_get_preferred_height)
604
STUB(gtk_widget_get_state_flags)
605
STUB(gtk_widget_get_style_context)
606
STUB(gtk_widget_path_append_type)
607
STUB(gtk_widget_path_copy)
608
STUB(gtk_widget_path_free)
609
STUB(gtk_widget_path_iter_add_class)
610
STUB(gtk_widget_path_get_object_type)
611
STUB(gtk_widget_path_length)
612
STUB(gtk_widget_path_new)
613
STUB(gtk_widget_path_unref)
614
STUB(gtk_widget_set_valign)
615
STUB(gtk_widget_set_visual)
616
STUB(gtk_app_chooser_dialog_new_for_content_type)
617
STUB(gtk_app_chooser_get_type)
618
STUB(gtk_app_chooser_get_app_info)
619
STUB(gtk_app_chooser_dialog_get_type)
620
STUB(gtk_app_chooser_dialog_set_heading)
621
STUB(gtk_color_chooser_dialog_new)
622
STUB(gtk_color_chooser_dialog_get_type)
623
STUB(gtk_color_chooser_get_type)
624
STUB(gtk_color_chooser_set_rgba)
625
STUB(gtk_color_chooser_get_rgba)
626
STUB(gtk_color_chooser_set_use_alpha)
627
#endif
628
629
#ifdef GTK2_SYMBOLS
630
STUB(gdk_drawable_get_screen)
631
STUB(gdk_rgb_get_colormap)
632
STUB(gdk_rgb_get_visual)
633
STUB(gdk_window_lookup)
634
STUB(gdk_window_set_back_pixmap)
635
STUB(gdk_x11_colormap_foreign_new)
636
STUB(gdk_x11_colormap_get_xcolormap)
637
STUB(gdk_x11_drawable_get_xdisplay)
638
STUB(gdk_x11_drawable_get_xid)
639
STUB(gdk_x11_window_get_drawable_impl)
640
STUB(gdkx_visual_get)
641
STUB(gtk_object_get_type)
642
#endif
643
644
#ifndef GTK3_SYMBOLS
645
// Only define the following workaround when using GTK3, which we detect
646
// by checking if GTK3 stubs are not provided.
647
#include <X11/Xlib.h>
648
// Bug 1271100
649
// We need to trick system Cairo into not using the XShm extension due to
650
// a race condition in it that results in frequent BadAccess errors. Cairo
651
// relies upon XShmQueryExtension to initially detect if XShm is available.
652
// So we define our own stub that always indicates XShm not being present.
653
// mozgtk loads before libXext/libcairo and so this stub will take priority.
654
// Our tree usage goes through xcb and remains unaffected by this.
655
MOZ_EXPORT Bool
656
XShmQueryExtension(Display* aDisplay)
657
0
{
658
0
  return False;
659
0
}
660
#endif