-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix all deprecated functions in GTK3 <= 3.22 #58
Conversation
41f80cd
to
17b3218
Compare
62eb296
to
0b4d8f1
Compare
- Remove obsolete gtk_container_set_resize_mode() - Replace gtk_widget_get_root_window()
7b56896
to
2c95d32
Compare
This PR is ready for review && merge now. ^_^ |
- Remove gtk_tree_view_set_rules_hint() - Remove gtk_window_set_has_resize_grip() - Replace gtk_alignment_new() - Replace gtk_alignment_set_padding() - Replace gtk_arrow_new() - Replace gtk_misc_set_alignment() - Replace gtk_misc_set_padding()
bcefe3b
to
05846d5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
4abdd44
to
40d5827
Compare
- Replace gdk_cursor_new()
- Replace gtk_style_context_get_background_color()
- Replace gdk_device_manager_get_client_pointer() - Replace gdk_display_get_device_manager()
- Replace gtk_button_set_focus_on_click()
b0c43c8
to
9b49cbe
Compare
- Replace gdk_screen_get_height() - Replace gdk_screen_get_monitor_at_window() - Replace gdk_screen_get_monitor_geometry() - Replace gdk_screen_get_width() - Replace gdk_visual_get_best_depth()
- Replace gtk_menu_popup()
Is this still open? |
well, it was approved, but not merged and now it conflict in changes, so it need rebase on top of current master and merge it. |
@besser82 could I ask you to fix up conflicts? I would like to fix some parts of libyui-gtk and this is a useful PR to not to have to worry about already fixed deprecated warnings. |
@besser82 ping? Could you please rebase this change? |
Conflicts are here because of the missed merge. I think you can get the master for all of those files that are not part of the fixing. If you want to trace the changes the real difference is into package/libyui-gtk.changes:
|
@anaselli @Conan-Kudo I'll get back to this during beginning of the week. I think a lot of preprocessor conditionals can be removed now, as GTK v3.22 is the final release and was included in almost all recent enterprise Linux releases. |
@besser82 great! |
Fixes for GTK3-3.22 are on my next batch. This is ready to go now.