W -> E for g_clist funktions.
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 8 Mar 2011 19:55:22 +0000 (19:55 +0000)
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 8 Mar 2011 19:55:22 +0000 (19:55 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36171 f5534014-38df-0310-8fa8-9805f1628bb7

tools/checkAPIs.pl

index 6b1f0c22a5dab7c827e913692756a1c67533e62c..249d2c510b032401d2248d1908c8920b25c447d4 100755 (executable)
@@ -190,18 +190,18 @@ my %APIs = (
 ###      or use GMemChunks for GLib < 2.10 and GSlice (or whatever) for newer GLibs.
 ## 2.10                'g_mem_chunk_alloc',                            # "use slice allocator" (avail since 2.10)
 ## 2.10                'g_mem_chunk_alloc0',                           # "use slice allocator" (avail since 2.10)
-               'g_mem_chunk_clean',                            # "use slice allocator" (avail since 2.10)
+                       'g_mem_chunk_clean',                            # "use slice allocator" (avail since 2.10)
 ## 2.10                'g_mem_chunk_create',                           # "use slice allocator" (avail since 2.10)
 ## 2.10                'g_mem_chunk_destroy',                          # "use slice allocator" (avail since 2.10)
-## 2.10                'g_mem_chunk_free',                             # "use slice allocator" (avail since 2.10)
-               'g_mem_chunk_info',                             # "use slice allocator" (avail since 2.10)
-## 2.10                'g_mem_chunk_new',                              # "use slice allocator" (avail since 2.10)
-               'g_mem_chunk_print',                            # "use slice allocator" (avail since 2.10)
-               'g_mem_chunk_reset',                            # "use slice allocator" (avail since 2.10)
-               'g_blow_chunks',                                # "use slice allocator" (avail since 2.10,2.14)
-## 2.10                'g_chunk_free',                                 # g_slice_free (avail since 2.10)
-## 2.10                'g_chunk_new',                                  # g_slice_new  (avail since 2.10)
-               'g_chunk_new0',                                 # g_slice_new0 (avail since 2.10)
+## 2.10                'g_mem_chunk_free',                                     # "use slice allocator" (avail since 2.10)
+                       'g_mem_chunk_info',                                     # "use slice allocator" (avail since 2.10)
+## 2.10                'g_mem_chunk_new',                                      # "use slice allocator" (avail since 2.10)
+                       'g_mem_chunk_print',                            # "use slice allocator" (avail since 2.10)
+                       'g_mem_chunk_reset',                            # "use slice allocator" (avail since 2.10)
+                       'g_blow_chunks',                                        # "use slice allocator" (avail since 2.10,2.14)
+## 2.10                'g_chunk_free',                                         # g_slice_free (avail since 2.10)
+## 2.10                'g_chunk_new',                                          # g_slice_new  (avail since 2.10)
+                       'g_chunk_new0',                                         # g_slice_new0 (avail since 2.10)
 ###
 ## Following Deprecated as of GLib 2.22;
 ## Note: Not currently used by Wireshark
@@ -284,136 +284,136 @@ my %deprecatedGtkFunctions = (
                'GTK_CHECK_GET_CLASS',                          'E', # G_TYPE_INSTANCE_GET_CLASS [==]
                'gtk_check_menu_item_set_show_toggle',          'E', # Does nothing; remove; [show_toggle is always TRUE]
                'gtk_check_menu_item_set_state',                'E',
-               'GTK_CHECK_TYPE',                               'E', # G_TYPE_CHECK_INSTANCE_TYPE [==]
-               'GTK_CLASS_NAME',                               'E',
-               'GTK_CLASS_TYPE',                               'E',
-               'GTK_CLIST_ADD_MODE',                           'E', # GtkTreeView (& related) ...
-               'gtk_clist_append',                             'W',
+               'GTK_CHECK_TYPE',                                               'E', # G_TYPE_CHECK_INSTANCE_TYPE [==]
+               'GTK_CLASS_NAME',                                               'E',
+               'GTK_CLASS_TYPE',                                               'E',
+               'GTK_CLIST_ADD_MODE',                                   'E', # GtkTreeView (& related) ...
+               'gtk_clist_append',                                             'W',
                'GTK_CLIST_AUTO_RESIZE_BLOCKED',                'E',
-               'GTK_CLIST_AUTO_SORT',                          'E',
-               'gtk_clist_clear',                              'W',
+               'GTK_CLIST_AUTO_SORT',                                  'E',
+               'gtk_clist_clear',                                              'W',
                'gtk_clist_column_title_active',                'E',
                'gtk_clist_column_title_passive',               'E',
                'gtk_clist_column_titles_active',               'E',
                'gtk_clist_column_titles_hide',                 'E',
                'gtk_clist_column_titles_passive',              'E',
-               'gtk_clist_column_titles_show',                 'W',
+               'gtk_clist_column_titles_show',                 'E',
                'gtk_clist_columns_autosize',                   'E',
-               'GTK_CLIST_DRAW_DRAG_LINE',                     'E',
-               'GTK_CLIST_DRAW_DRAG_RECT',                     'E',
-               'gtk_clist_find_row_from_data',                 'W',
-               'GTK_CLIST_FLAGS',                              'E',
-               'gtk_clist_freeze',                             'W',
-               'gtk_clist_get_cell_style',                     'E',
-               'gtk_clist_get_cell_type',                      'E',
+               'GTK_CLIST_DRAW_DRAG_LINE',                             'E',
+               'GTK_CLIST_DRAW_DRAG_RECT',                             'E',
+               'gtk_clist_find_row_from_data',                 'E',
+               'GTK_CLIST_FLAGS',                                              'E',
+               'gtk_clist_freeze',                                             'E',
+               'gtk_clist_get_cell_style',                             'E',
+               'gtk_clist_get_cell_type',                              'E',
                'gtk_clist_get_column_title',                   'E',
                'gtk_clist_get_column_widget',                  'E',
                'gtk_clist_get_hadjustment',                    'E',
-               'gtk_clist_get_pixmap',                         'E',
-               'gtk_clist_get_pixtext',                        'E',
-               'gtk_clist_get_row_data',                       'W',
-               'gtk_clist_get_row_style',                      'E',
-               'gtk_clist_get_selectable',                     'E',
-               'gtk_clist_get_selection_info',                 'W',
-               'gtk_clist_get_text',                           'W',
-               'gtk_clist_get_vadjustment',                    'W',
-               'GTK_CLIST_IN_DRAG',                            'E',
-               'gtk_clist_insert',                             'E',
-               'gtk_clist_moveto',                             'W',
-               'gtk_clist_new',                                'W',
+               'gtk_clist_get_pixmap',                                 'E',
+               'gtk_clist_get_pixtext',                                'E',
+               'gtk_clist_get_row_data',                               'E',
+               'gtk_clist_get_row_style',                              'E',
+               'gtk_clist_get_selectable',                             'E',
+               'gtk_clist_get_selection_info',                 'E',
+               'gtk_clist_get_text',                                   'E',
+               'gtk_clist_get_vadjustment',                    'E',
+               'GTK_CLIST_IN_DRAG',                                    'E',
+               'gtk_clist_insert',                                             'E',
+               'gtk_clist_moveto',                                             'E',
+               'gtk_clist_new',                                                'E',
                'gtk_clist_new_with_titles',                    'E',
                'gtk_clist_optimal_column_width',               'E',
-               'gtk_clist_prepend',                            'E',
-               'gtk_clist_remove',                             'W',
-               'GTK_CLIST_REORDERABLE',                        'E',
-               'GTK_CLIST_ROW',                                'E',
-               'GTK_CLIST_ROW_HEIGHT_SET',                     'E',
-               'gtk_clist_row_is_visible',                     'W',
-               'gtk_clist_row_move',                           'E',
-               'gtk_clist_select_all',                         'W',
-               'gtk_clist_select_row',                         'W',
-               'gtk_clist_set_auto_sort',                      'E',
-               'gtk_clist_set_background',                     'W',
+               'gtk_clist_prepend',                                    'E',
+               'gtk_clist_remove',                                             'E',
+               'GTK_CLIST_REORDERABLE',                                'E',
+               'GTK_CLIST_ROW',                                                'E',
+               'GTK_CLIST_ROW_HEIGHT_SET',                             'E',
+               'gtk_clist_row_is_visible',                             'E',
+               'gtk_clist_row_move',                                   'E',
+               'gtk_clist_select_all',                                 'E',
+               'gtk_clist_select_row',                                 'E',
+               'gtk_clist_set_auto_sort',                              'E',
+               'gtk_clist_set_background',                             'E',
                'gtk_clist_set_button_actions',                 'E',
-               'gtk_clist_set_cell_style',                     'E',
-               'gtk_clist_set_column_auto_resize',             'W',
-               'gtk_clist_set_column_justification',           'W',
+               'gtk_clist_set_cell_style',                             'E',
+               'gtk_clist_set_column_auto_resize',             'E',
+               'gtk_clist_set_column_justification',   'E',
                'gtk_clist_set_column_max_width',               'E',
                'gtk_clist_set_column_min_width',               'E',
-               'gtk_clist_set_column_resizeable',              'W',
-               'gtk_clist_set_column_title',                   'W',
+               'gtk_clist_set_column_resizeable',              'E',
+               'gtk_clist_set_column_title',                   'E',
                'gtk_clist_set_column_visibility',              'E',
-               'gtk_clist_set_column_widget',                  'W',
-               'gtk_clist_set_column_width',                   'W',
-               'gtk_clist_set_compare_func',                   'W',
-               'GTK_CLIST_SET_FLAG',                           'E',
-               'gtk_clist_set_foreground',                     'W',
+               'gtk_clist_set_column_widget',                  'E',
+               'gtk_clist_set_column_width',                   'E',
+               'gtk_clist_set_compare_func',                   'E',
+               'GTK_CLIST_SET_FLAG',                                   'E',
+               'gtk_clist_set_foreground',                             'E',
                'gtk_clist_set_hadjustment',                    'E',
-               'gtk_clist_set_pixmap',                         'E',
-               'gtk_clist_set_pixtext',                        'E',
+               'gtk_clist_set_pixmap',                                 'E',
+               'gtk_clist_set_pixtext',                                'E',
                'gtk_clist_set_reorderable',                    'E',
-               'gtk_clist_set_row_data',                       'W',
+               'gtk_clist_set_row_data',                               'E',
                'gtk_clist_set_row_data_full',                  'E',
-               'gtk_clist_set_row_height',                     'E',
-               'gtk_clist_set_row_style',                      'E',
-               'gtk_clist_set_selectable',                     'E',
-               'gtk_clist_set_selection_mode',                 'W',
-               'gtk_clist_set_shadow_type',                    'W',
-               'gtk_clist_set_shift',                          'E',
-               'gtk_clist_set_sort_column',                    'W',
-               'gtk_clist_set_sort_type',                      'W',
-               'gtk_clist_set_text',                           'W',
+               'gtk_clist_set_row_height',                             'E',
+               'gtk_clist_set_row_style',                              'E',
+               'gtk_clist_set_selectable',                             'E',
+               'gtk_clist_set_selection_mode',                 'E',
+               'gtk_clist_set_shadow_type',                    'E',
+               'gtk_clist_set_shift',                                  'E',
+               'gtk_clist_set_sort_column',                    'E',
+               'gtk_clist_set_sort_type',                              'E',
+               'gtk_clist_set_text',                                   'E',
                'gtk_clist_set_use_drag_icons',                 'E',
                'gtk_clist_set_vadjustment',                    'E',
-               'GTK_CLIST_SHOW_TITLES',                        'E',
-               'gtk_clist_sort',                               'W',
-               'gtk_clist_swap_rows',                          'W',
-               'gtk_clist_thaw',                               'W',
-               'gtk_clist_undo_selection',                     'E',
-               'gtk_clist_unselect_all',                       'W',
-               'gtk_clist_unselect_row',                       'E',
-               'GTK_CLIST_UNSET_FLAG',                         'E',
-               'GTK_CLIST_USE_DRAG_ICONS',                     'E',
+               'GTK_CLIST_SHOW_TITLES',                                'E',
+               'gtk_clist_sort',                                               'E',
+               'gtk_clist_swap_rows',                                  'E',
+               'gtk_clist_thaw',                                               'E',
+               'gtk_clist_undo_selection',                             'E',
+               'gtk_clist_unselect_all',                               'E',
+               'gtk_clist_unselect_row',                               'E',
+               'GTK_CLIST_UNSET_FLAG',                                 'E',
+               'GTK_CLIST_USE_DRAG_ICONS',                             'E',
                'gtk_color_selection_get_color',                'E',
                'gtk_color_selection_set_change_palette_hook',  'E',
-               'gtk_color_selection_set_color',                'E',
+               'gtk_color_selection_set_color',                        'E',
                'gtk_color_selection_set_update_policy',        'E',
                'gtk_combo_disable_activate',                   'W', # GtkComboBoxEntry ... (avail since 2.4/2.6/2.10/2.14)
-               'gtk_combo_new',                                'W',
+               'gtk_combo_new',                                                'W',
                'gtk_combo_set_case_sensitive',                 'W',
                'gtk_combo_set_item_string',                    'E',
                'gtk_combo_set_popdown_strings',                'W',
-               'gtk_combo_set_use_arrows',                     'E',
+               'gtk_combo_set_use_arrows',                             'E',
                'gtk_combo_set_use_arrows_always',              'E',
                'gtk_combo_set_value_in_list',                  'E',
                'gtk_container_border_width',                   'E', # gtk_container_set_border_width [==]
-               'gtk_container_children',                       'E', # gtk_container_get_children [==]
+               'gtk_container_children',                               'E', # gtk_container_get_children [==]
                'gtk_container_foreach_full',                   'E',
-               'gtk_ctree_collapse',                           'E',
+               'gtk_ctree_collapse',                                   'E',
                'gtk_ctree_collapse_recursive',                 'E',
                'gtk_ctree_collapse_to_depth',                  'E',
-               'gtk_ctree_expand',                             'E',
+               'gtk_ctree_expand',                                             'E',
                'gtk_ctree_expand_recursive',                   'E',
                'gtk_ctree_expand_to_depth',                    'E',
                'gtk_ctree_export_to_gnode',                    'E',
-               'gtk_ctree_find',                               'E',
+               'gtk_ctree_find',                                               'E',
                'gtk_ctree_find_all_by_row_data',               'E',
-               'gtk_ctree_find_all_by_row_data_custom',        'E',
+               'gtk_ctree_find_all_by_row_data_custom','E',
                'gtk_ctree_find_by_row_data',                   'E',
-               'gtk_ctree_find_by_row_data_custom',            'E',
-               'gtk_ctree_find_node_ptr',                      'E',
-               'GTK_CTREE_FUNC',                               'E',
-               'gtk_ctree_get_node_info',                      'E',
-               'gtk_ctree_insert_gnode',                       'E',
-               'gtk_ctree_insert_node',                        'E',
-               'gtk_ctree_is_ancestor',                        'E',
-               'gtk_ctree_is_hot_spot',                        'E',
-               'gtk_ctree_is_viewable',                        'E',
-               'gtk_ctree_last',                               'E',
-               'gtk_ctree_move',                               'E',
-               'gtk_ctree_new',                                'E',
+               'gtk_ctree_find_by_row_data_custom',    'E',
+               'gtk_ctree_find_node_ptr',                              'E',
+               'GTK_CTREE_FUNC',                                               'E',
+               'gtk_ctree_get_node_info',                              'E',
+               'gtk_ctree_insert_gnode',                               'E',
+               'gtk_ctree_insert_node',                                'E',
+               'gtk_ctree_is_ancestor',                                'E',
+               'gtk_ctree_is_hot_spot',                                'E',
+               'gtk_ctree_is_viewable',                                'E',
+               'gtk_ctree_last',                                               'E',
+               'gtk_ctree_move',                                               'E',
+               'gtk_ctree_new',                                                'E',
                'gtk_ctree_new_with_titles',                    'E',
-               'GTK_CTREE_NODE',                               'E',
+               'GTK_CTREE_NODE',                                               'E',
                'gtk_ctree_node_get_cell_style',                'E',
                'gtk_ctree_node_get_cell_type',                 'E',
                'gtk_ctree_node_get_pixmap',                    'E',
@@ -421,12 +421,12 @@ my %deprecatedGtkFunctions = (
                'gtk_ctree_node_get_row_data',                  'E',
                'gtk_ctree_node_get_row_style',                 'E',
                'gtk_ctree_node_get_selectable',                'E',
-               'gtk_ctree_node_get_text',                      'E',
+               'gtk_ctree_node_get_text',                              'E',
                'gtk_ctree_node_is_visible',                    'E',
-               'gtk_ctree_node_moveto',                        'E',
-               'GTK_CTREE_NODE_NEXT',                          'E',
-               'gtk_ctree_node_nth',                           'E',
-               'GTK_CTREE_NODE_PREV',                          'E',
+               'gtk_ctree_node_moveto',                                'E',
+               'GTK_CTREE_NODE_NEXT',                                  'E',
+               'gtk_ctree_node_nth',                                   'E',
+               'GTK_CTREE_NODE_PREV',                                  'E',
                'gtk_ctree_node_set_background',                'E',
                'gtk_ctree_node_set_cell_style',                'E',
                'gtk_ctree_node_set_foreground',                'E',
@@ -436,38 +436,38 @@ my %deprecatedGtkFunctions = (
                'gtk_ctree_node_set_row_data_full',             'E',
                'gtk_ctree_node_set_row_style',                 'E',
                'gtk_ctree_node_set_selectable',                'E',
-               'gtk_ctree_node_set_shift',                     'E',
-               'gtk_ctree_node_set_text',                      'E',
-               'gtk_ctree_post_recursive',                     'E',
-               'gtk_ctree_post_recursive_to_depth',            'E',
-               'gtk_ctree_pre_recursive',                      'E',
+               'gtk_ctree_node_set_shift',                             'E',
+               'gtk_ctree_node_set_text',                              'E',
+               'gtk_ctree_post_recursive',                             'E',
+               'gtk_ctree_post_recursive_to_depth',    'E',
+               'gtk_ctree_pre_recursive',                              'E',
                'gtk_ctree_pre_recursive_to_depth',             'E',
                'gtk_ctree_real_select_recursive',              'E',
-               'gtk_ctree_remove_node',                        'E',
-               'GTK_CTREE_ROW',                                'E',
-               'gtk_ctree_select',                             'E',
+               'gtk_ctree_remove_node',                                'E',
+               'GTK_CTREE_ROW',                                                'E',
+               'gtk_ctree_select',                                             'E',
                'gtk_ctree_select_recursive',                   'E',
                'gtk_ctree_set_drag_compare_func',              'E',
                'gtk_ctree_set_expander_style',                 'E',
-               'gtk_ctree_set_indent',                         'E',
-               'gtk_ctree_set_line_style',                     'E',
-               'gtk_ctree_set_node_info',                      'E',
+               'gtk_ctree_set_indent',                                 'E',
+               'gtk_ctree_set_line_style',                             'E',
+               'gtk_ctree_set_node_info',                              'E',
                'gtk_ctree_set_reorderable',                    'E',
-               'gtk_ctree_set_show_stub',                      'E',
-               'gtk_ctree_set_spacing',                        'E',
-               'gtk_ctree_sort_node',                          'E',
-               'gtk_ctree_sort_recursive',                     'E',
+               'gtk_ctree_set_show_stub',                              'E',
+               'gtk_ctree_set_spacing',                                'E',
+               'gtk_ctree_sort_node',                                  'E',
+               'gtk_ctree_sort_recursive',                             'E',
                'gtk_ctree_toggle_expansion',                   'E',
-               'gtk_ctree_toggle_expansion_recursive',         'E',
-               'gtk_ctree_unselect',                           'E',
+               'gtk_ctree_toggle_expansion_recursive', 'E',
+               'gtk_ctree_unselect',                                   'E',
                'gtk_ctree_unselect_recursive',                 'E',
-               'gtk_curve_get_vector',                         'E', # since 2.20
-               'gtk_curve_new',                                'E', # since 2.20
-               'gtk_curve_reset',                              'E', # since 2.20
-               'gtk_curve_set_curve_type',                     'E', # since 2.20
-               'gtk_curve_set_gamma',                          'E', # since 2.20
-               'gtk_curve_set_range',                          'E', # since 2.20
-               'gtk_curve_set_vector',                         'E', # since 2.20
+               'gtk_curve_get_vector',                                 'E', # since 2.20
+               'gtk_curve_new',                                                'E', # since 2.20
+               'gtk_curve_reset',                                              'E', # since 2.20
+               'gtk_curve_set_curve_type',                             'E', # since 2.20
+               'gtk_curve_set_gamma',                                  'E', # since 2.20
+               'gtk_curve_set_range',                                  'E', # since 2.20
+               'gtk_curve_set_vector',                                 'E', # since 2.20
                'gtk_drag_set_default_icon',                    'E',
                'gtk_draw_arrow',                               'E',
                'gtk_draw_box',                                 'E',
@@ -483,32 +483,32 @@ my %deprecatedGtkFunctions = (
                'gtk_draw_layout',                              'E',
                'gtk_draw_option',                              'E',
                'gtk_draw_polygon',                             'E',
-               'gtk_draw_resize_grip',                         'E',
+               'gtk_draw_resize_grip',                 'E',
                'gtk_draw_shadow',                              'E',
-               'gtk_draw_shadow_gap',                          'E',
+               'gtk_draw_shadow_gap',                  'E',
                'gtk_draw_slider',                              'E',
                'gtk_draw_string',                              'E',
                'gtk_draw_tab',                                 'E',
                'gtk_draw_vline',                               'E',
-               'gtk_drawing_area_size',                        'E', # >> g_object_set() [==] ?
-                                                                        #    gtk_widget_set_size_request() [==?]
-               'gtk_entry_append_text',                        'E', # >> gtk_editable_insert_text() [==?]
+               'gtk_drawing_area_size',                                'E', # >> g_object_set() [==] ?
+                                                                                                        #    gtk_widget_set_size_request() [==?]
+               'gtk_entry_append_text',                                'E', # >> gtk_editable_insert_text() [==?]
                'gtk_entry_new_with_max_length',                'E', # gtk_entry_new(); gtk_entry_set_max_length()
-               'gtk_entry_prepend_text',                       'E',
-               'gtk_entry_select_region',                      'E',
-               'gtk_entry_set_editable',                       'E', # >> gtk_editable_set_editable() [==?]
-               'gtk_entry_set_position',                       'E',
-               'gtk_exit',                                     'E', # exit() [==]
+               'gtk_entry_prepend_text',                               'E',
+               'gtk_entry_select_region',                              'E',
+               'gtk_entry_set_editable',                               'E', # >> gtk_editable_set_editable() [==?]
+               'gtk_entry_set_position',                               'E',
+               'gtk_exit',                                                             'E', # exit() [==]
                'gtk_file_chooser_button_new_with_backend',     'E',
                'gtk_file_chooser_dialog_new_with_backend',     'E',
                'gtk_file_chooser_widget_new_with_backend',     'E',
-               'gtk_file_selection_complete',                  'E',
-               'gtk_file_selection_get_filename',              'E', # GtkFileChooser ...
+               'gtk_file_selection_complete',                          'E',
+               'gtk_file_selection_get_filename',                      'E', # GtkFileChooser ...
                'gtk_file_selection_get_select_multiple',       'E',
                'gtk_file_selection_get_selections',            'E',
                'gtk_file_selection_hide_fileop_buttons',       'E',
-               'gtk_file_selection_new',                       'E',
-               'gtk_file_selection_set_filename',              'E',
+               'gtk_file_selection_new',                                       'E',
+               'gtk_file_selection_set_filename',                      'E',
                'gtk_file_selection_set_select_multiple',       'E',
                'gtk_file_selection_show_fileop_buttons',       'E',
                'gtk_fixed_get_has_window',                     'E', # gtk_widget_get_has_window() (available since 2.18)