Merge branch 'matthiasc/for-master' into 'master'

docs: Add gtk_widget_grab_default to migration guide

See merge request GNOME/gtk!3125
This commit is contained in:
Matthias Clasen 2021-01-27 21:53:02 +00:00
commit 2e7923cad0

View File

@ -1079,6 +1079,11 @@ that wants to override the default handling, you can provide an
implementation of the default.activate action in your widgets' action implementation of the default.activate action in your widgets' action
groups. groups.
### Stop using gtk_widget_grab_default()
The function gtk_widget_grab_default() has been removed. If you need
to mark a widget as default, use gtk_window_set_default_widget() directly.
### Stop setting ::has-default and ::has-focus in .ui files ### Stop setting ::has-default and ::has-focus in .ui files
The special handling for the ::has-default and ::has-focus properties The special handling for the ::has-default and ::has-focus properties