Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
releng:4.14:roadmap:thunar:deprecations [2017/10/26 04:24] – update andreldmreleng:4.14:roadmap:thunar:deprecations [2018/06/06 04:55] (current) – Update andreldm
Line 1: Line 1:
-====== Thunar GTK3 Deprecations ======+====== Thunar GTK3 deprecations ======
  
-Deprecations and warnings found in [[https://git.xfce.org/xfce/thunar/commit/?id=e916f399c788df0c901f251f048ccfcec24ffcec|e916f39]]+Deprecations and warnings found in [[https://git.xfce.org/xfce/thunar/commit/?id=51fa8fc2dfd7bea356caacd72b69e56925045cff|51fa8fc]]
  
-GtkAction and GtkUiManager deprecations will not be handled in this cycle.+Deprecated functions related to the items below will not be handled in this cycle
 +  * ''gtk_action_*'' 
 +    * GAction is not a straightforward replacement 
 +  * ''gtk_image_menu_item_*'' 
 +    * Gnome decided to remove icons from menu items, Xfce didn't. 
 +    * The official workaround (wrap an image and label in a box) results in an ugly left padding. 
 +  * ''gtk_radio_action_*'' 
 +  * ''gtk_status_icon_*'' 
 +    * Gnome decided to drop tray icons, Xfce didn't. 
 +  * ''gdk_threads_*'' 
 +    * Drawing only on main thread requires lots of refactoring. 
 +  * ''gtk_ui_manager_*'' 
 +    * GtkBuilder is not a straightforward replacement 
 +  * [[https://git.xfce.org/xfce/thunar/commit/?id=e8ccd6fae59d4b93177786252aa65b8ad4efbe93|GTK_STOCK_DISCONNECT]] 
 +  * [[https://git.xfce.org/xfce/thunar/commit/?id=baf99226502dda739c97c791b788cf9c62ef2f82|gtk_menu_item_set_right_justified]]
  
 <code> <code>
Line 9: Line 23:
  
 grep "warning:" build.log | wc -l grep "warning:" build.log | wc -l
-690 (out of 1336 when merged)+(out of 1336 when merged)
  
-grep "warning:" build.log | grep -Ev "gtk_action|gtk_ui_manager|gtk_radio_action|gtk_toggle_action|gtk_activatable_get_related_action" | wc -l +grep "warning:" build.log | cut -d: -f5 | sort | uniq -c | sort -n -r 
-204 +# none
- +
-grep "warning:" build.log | grep -Ev "gtk_action|gtk_ui_manager|gtk_radio_action|gtk_toggle_action|gtk_activatable_get_related_action" | cut -d: -f5 | sort | uniq -c | sort -n -r +
-22  ‘gdk_threads_leave’ is deprecated [-Wdeprecated-declarations] +
-22  ‘gdk_threads_enter’ is deprecated [-Wdeprecated-declarations] +
-20  ‘gtk_image_menu_item_new_with_mnemonic’ is deprecated +
-15  ‘gtk_image_menu_item_set_image’ is deprecated [-Wdeprecated-declarations] +
-15  ‘gtk_image_menu_item_get_type’ is deprecated +
-  ‘gtk_widget_modify_text’ is deprecated +
-  ‘gtk_widget_modify_base’ is deprecated +
-  ‘gdk_color_parse’ is deprecated +
-  ‘gtk_misc_set_padding’ is deprecated [-Wdeprecated-declarations] +
-  ‘gtk_misc_get_type’ is deprecated [-Wdeprecated-declarations] +
-  ‘gtk_image_new_from_stock’ is deprecated +
-  ‘gtk_widget_get_style’ is deprecated +
-  ‘GtkStock’ is deprecated [-Wdeprecated-declarations] +
-  ‘gtk_image_menu_item_new_with_label’ is deprecated +
-  ‘gtk_widget_reparent’ is deprecated [-Wdeprecated-declarations] +
-  ‘gtk_widget_modify_style’ is deprecated +
-  ‘gtk_tree_view_set_rules_hint’ is deprecated [-Wdeprecated-declarations] +
-  ‘gtk_rc_style_new’ is deprecated +
-  ‘gtk_menu_popup’ is deprecated +
-  ‘gtk_icon_source_new’ is deprecated [-Wdeprecated-declarations] +
-  ‘gtk_icon_source_free’ is deprecated [-Wdeprecated-declarations] +
-  ‘gtk_icon_factory_new’ is deprecated [-Wdeprecated-declarations] +
-  ‘gtk_icon_factory_add_default’ is deprecated [-Wdeprecated-declarations] +
-  ‘gtk_drag_begin’ is deprecated +
-  ‘gtk_dialog_set_alternative_button_order’ is deprecated [-Wdeprecated-declarations] +
-  ‘gtk_dialog_get_action_area’ is deprecated [-Wdeprecated-declarations] +
-  ‘gtk_button_set_focus_on_click’ is deprecated +
-  ‘gdk_window_get_pointer’ is deprecated +
-  ‘gdk_screen_get_monitor_geometry’ is deprecated +
-  ‘gdk_screen_get_monitor_at_point’ is deprecated +
-  ‘gdk_display_get_screen’ is deprecated [-Wdeprecated-declarations] +
-  ‘gdk_display_get_n_screens’ is deprecated [-Wdeprecated-declarations] +
-  variable ‘context’ set but not used [-Wunused-but-set-variable] +
-  ‘gtk_widget_push_composite_child’ is deprecated +
-  ‘gtk_widget_pop_composite_child’ is deprecated +
-  ‘gtk_widget_get_state’ is deprecated +
-  ‘gtk_style_render_icon’ is deprecated +
-  ‘gtk_status_icon_set_visible’ is deprecated [-Wdeprecated-declarations] +
-  ‘gtk_status_icon_set_tooltip_text’ is deprecated [-Wdeprecated-declarations] +
-  ‘gtk_status_icon_new_from_icon_name’ is deprecated [-Wdeprecated-declarations] +
-  ‘gtk_show_uri’ is deprecated +
-  ‘gtk_paint_shadow’ is deprecated +
-  ‘gtk_menu_item_set_right_justified’ is deprecated [-Wdeprecated-declarations] +
-  ‘gtk_icon_source_set_size_wildcarded’ is deprecated [-Wdeprecated-declarations] +
-  ‘gtk_icon_source_set_size’ is deprecated [-Wdeprecated-declarations] +
-  ‘gtk_icon_source_set_pixbuf’ is deprecated [-Wdeprecated-declarations] +
-  ‘gtk_icon_source_set_icon_name’ is deprecated [-Wdeprecated-declarations] +
-  ‘gtk_icon_set_unref’ is deprecated [-Wdeprecated-declarations] +
-  ‘gtk_icon_set_new’ is deprecated [-Wdeprecated-declarations] +
-  ‘gtk_icon_set_add_source’ is deprecated [-Wdeprecated-declarations] +
-  ‘gtk_icon_info_get_display_name’ is deprecated [-Wdeprecated-declarations] +
-  ‘gtk_icon_factory_remove_default’ is deprecated [-Wdeprecated-declarations] +
-  ‘gtk_icon_factory_add’ is deprecated [-Wdeprecated-declarations] +
-  ‘gtk_activatable_get_type’ is deprecated [-Wdeprecated-declarations] +
-  ‘gdk_screen_get_number’ is deprecated [-Wdeprecated-declarations] +
-  ‘gdk_screen_get_n_monitors’ is deprecated +
-  ‘gdk_screen_get_monitor_plug_name’ is deprecated +
-  ‘gdk_pixbuf_new_from_inline’ is deprecated [-Wdeprecated-declarations] +
-  ‘gdk_cairo_set_source_color’ is deprecated+
 </code> </code>