diff --git a/gtk/CMakeLists.txt b/gtk/CMakeLists.txt index d11e6642ec..679f75c2f8 100644 --- a/gtk/CMakeLists.txt +++ b/gtk/CMakeLists.txt @@ -233,7 +233,7 @@ add_definitions( # you can use defines to remove deprecated symbols from the header files # -DGDK_DISABLE_DEPRECATED - # -DGTK_DISABLE_DEPRECATED + -DGTK_DISABLE_DEPRECATED ) add_lex_files(WIRESHARK_GTK_SRC diff --git a/gtk/STATUS.gtk3 b/gtk/STATUS.gtk3 index f7f46aa276..a1763f6f09 100644 --- a/gtk/STATUS.gtk3 +++ b/gtk/STATUS.gtk3 @@ -16,7 +16,7 @@ There are two ways to make the Wireshark code gtk3 ready: working on this to have gtk3 installed. 2) The compat flags: - -DGTK_DISABLE_SINGLE_INCLUDES + -DGTK_DISABLE_SINGLE_INCLUDES [works] -DGSEAL_ENABLE -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED @@ -24,3 +24,77 @@ There are two ways to make the Wireshark code gtk3 ready: version of gtk2 and turn on one or more of these flags, you can find many things that are not gtk3 compatible yet. +Some statistics (as of rev 37715) + +-DGSEAL_ENABLE + grep error: make.log| cut -d: -f5 | sort | uniq -c + 1 ‘GtkAdjustment’ has no member named ‘lower’ + 7 ‘GtkAdjustment’ has no member named ‘page_increment’ + 18 ‘GtkAdjustment’ has no member named ‘page_size’ + 4 ‘GtkAdjustment’ has no member named ‘step_increment’ + 8 ‘GtkAdjustment’ has no member named ‘upper’ + 14 ‘GtkAdjustment’ has no member named ‘value’ + 1 ‘GtkCheckMenuItem’ has no member named ‘active’ + 1 ‘GtkDialog’ has no member named ‘vbox’ + 14 ‘GtkObject’ has no member named ‘flags’ + 1 ‘GtkTable’ has no member named ‘nrows’ + 43 ‘GtkToggleButton’ has no member named ‘active’ + 4 ‘GtkTreeViewColumn’ has no member named ‘button’ + 79 ‘GtkWidget’ has no member named ‘allocation’ + 19 ‘GtkWidget’ has no member named ‘state’ + 103 ‘GtkWidget’ has no member named ‘style’ + 115 ‘GtkWidget’ has no member named ‘window’ + +-DGDK_DISABLE_DEPRECATED + grep error: make.log| cut -d: -f5 | sort | uniq -c +mplicit declaration of function ‘gdk_cursor_destroy’ + 2 implicit declaration of function ‘gdk_draw_arc’ + 1 implicit declaration of function ‘gdk_draw_drawable’ + 9 implicit declaration of function ‘gdk_draw_layout’ + 9 implicit declaration of function ‘gdk_draw_line’ + 1 implicit declaration of function ‘gdk_draw_pixbuf’ + 7 implicit declaration of function ‘gdk_draw_pixmap’ + 1 implicit declaration of function ‘gdk_draw_polygon’ + 8 implicit declaration of function ‘gdk_draw_rectangle’ + 9 implicit declaration of function ‘gdk_gc_new’ + 1 implicit declaration of function ‘gdk_gc_set_fill’ + 2 implicit declaration of function ‘gdk_gc_set_foreground’ + 1 implicit declaration of function ‘gdk_gc_set_function’ + 1 implicit declaration of function ‘gdk_gc_set_line_attributes’ + 7 implicit declaration of function ‘gdk_gc_set_rgb_fg_color’ + 1 implicit declaration of function ‘gdk_gc_set_tile’ + 1 implicit declaration of function ‘gdk_gc_set_ts_origin’ + 1 implicit declaration of function ‘gdk_gc_unref’ + 2 implicit declaration of function ‘gdk_pixmap_create_from_xpm_d’ + 7 implicit declaration of function ‘gdk_pixmap_unref’ + 1 implicit declaration of function ‘gdk_window_get_colormap’ + 1 implicit declaration of function ‘gdk_window_get_deskrelative_origin’ + 1 implicit declaration of function ‘gdk_window_get_size’ + +-DGTK_DISABLE_DEPRECATED + grep error: make.log| cut -d: -f5 | sort | uniq -c + 10 implicit declaration of function ‘GTK_OBJECT_FLAGS’ + 2 implicit declaration of function ‘GTK_TOOLTIPS’ + 6 implicit declaration of function ‘GTK_WIDGET_STATE’ + 1 implicit declaration of function ‘gtk_item_factory_create_item’ + 1 implicit declaration of function ‘gtk_item_factory_from_widget’ + 1 implicit declaration of function ‘gtk_item_factory_get_item’ + 1 implicit declaration of function ‘gtk_item_factory_get_widget’ + 1 implicit declaration of function ‘gtk_tool_item_set_tooltip’ + 2 implicit declaration of function ‘gtk_toolbar_set_orientation’ + 42 implicit declaration of function ‘gtk_tooltips_new’ + 38 implicit declaration of function ‘gtk_tooltips_set_tip’ + 1 implicit declaration of function ‘gtk_tree_view_column_get_cell_renderers’ + 2 ‘GtkItemFactoryEntry’ undeclared (first use in this function) + 57 ‘GtkTooltips’ undeclared (first use in this function) + 1 ‘button_bar_tips’ undeclared (first use in this function) + 3 ‘g_ph_menu_factory’ undeclared (first use in this function) + 1 ‘menu_entry’ undeclared (first use in this function) + 1 ‘sep_entry’ undeclared (first use in this function) + 2 ‘struct ct_struct’ has no member named ‘is_protocol’ + 24 ‘struct ct_struct’ has no member named ‘page’ + 2 ‘struct ct_struct’ has no member named ‘tooltips’ + 2 ‘tooltip_in’ undeclared (first use in this function) + 2 ‘tooltip_out’ undeclared (first use in this function) + 58 ‘tooltips’ undeclared (first use in this function) +