Get rid of deprecated symblol gtk_widget_draw().
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 4 Oct 2009 15:49:52 +0000 (15:49 +0000)
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 4 Oct 2009 15:49:52 +0000 (15:49 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30305 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/io_stat.c
tools/checkAPIs.pl

index 5d10758f88663a552c9ed18655bb9038ce867a82..ae8ffa97afa74d1a6dc50e8b3cf564cc5bc922cf 100644 (file)
@@ -1644,13 +1644,14 @@ count_type_select(GtkWidget *item, gpointer key)
                        disable_graph(&io->graphs[i]);
                        gtk_widget_show(io->graphs[i].advanced_buttons);
 /* redraw the entire window so the unhidden widgets show up, hopefully */
-{GdkRectangle update_rect;
-update_rect.x=0;
-update_rect.y=0;
-update_rect.width=io->window->allocation.width;
-update_rect.height=io->window->allocation.height;
-gtk_widget_draw(io->window, &update_rect);
-}
+       gtk_widget_queue_draw_area(io->window,
+                                                  0,
+                                                  0,
+                                                  io->window->allocation.width,
+                                                  io->window->allocation.height);
+
+
+
                }
                advanced_visible=TRUE;
                io_stat_redraw(io);
index 6671a76c630169052cbbfc28841b2cb233b6cf03..956291c8a8a92b61bdcbccd214a3a992afdb030d 100755 (executable)
@@ -218,8 +218,10 @@ my %deprecatedGtkFunctions = (
                 'gtk_about_dialog_set_name',                   'E',
                 'gtk_accel_group_ref',                         'E',
                 'gtk_accel_group_unref',                       'E',
-               'gtk_action_block_activate_from',              'E',
-               'gtk_action_unblock_activate_from',            'E',
+                               'gtk_action_block_activate_from',              'E',
+                               'gtk_action_connect_proxy',                                        'E',
+                               'gtk_action_disconnect_proxy',                             'E',
+                               'gtk_action_unblock_activate_from',            'E',
                 'gtk_binding_entry_add',                       'E',
                 'gtk_binding_entry_add_signall',               'E',
                 'gtk_binding_entry_clear',                     'E',
@@ -466,7 +468,7 @@ my %deprecatedGtkFunctions = (
                 'gtk_file_selection_set_filename',             'E',
                 'gtk_file_selection_set_select_multiple',      'E',
                 'gtk_file_selection_show_fileop_buttons',      'E',
-               'gtk_font_selection_dialog_get_apply_button',  'E',
+                               'gtk_font_selection_dialog_get_apply_button',  'E',
                 'gtk_font_selection_dialog_get_font',          'E',
                 'gtk_font_selection_get_font',                 'E', # gtk_font_selection_get_font_name [!=]
                 'GTK_FUNDAMENTAL_TYPE',                        'E',
@@ -804,7 +806,7 @@ my %deprecatedGtkFunctions = (
                 'gtk_vbutton_box_get_spacing_default',         'E',
                 'gtk_vbutton_box_set_layout_default',          'E',
                 'gtk_vbutton_box_set_spacing_default',         'E',
-                'gtk_widget_draw',                             'W', # gtk_widget_queue_draw_area(): 
+                'gtk_widget_draw',                             'E', # gtk_widget_queue_draw_area(): 
                                                                     #  "in general a better choice if you want
                                                                     #  to draw a region of a widget."
                 'gtk_widget_pop_visual',                       'E',