diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-01-27 13:50:05 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-02-07 11:35:57 -0500 |
commit | b85296bc98f712453827953852d2557c644fef6f (patch) | |
tree | f7579eea802a6bdc59192b99781ebd5ae9ab0e7d | |
parent | 2194421de3ddcd325370abbbb0ac10b452a04b15 (diff) | |
download | gtk+-b85296bc98f712453827953852d2557c644fef6f.tar.gz |
docs: Add gtk_widget_grab_default to migration guide
Point out the replacement for this api.
-rw-r--r-- | docs/reference/gtk/migrating-3to4.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/reference/gtk/migrating-3to4.md b/docs/reference/gtk/migrating-3to4.md index 3d2fa1638b..597e77c78e 100644 --- a/docs/reference/gtk/migrating-3to4.md +++ b/docs/reference/gtk/migrating-3to4.md @@ -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 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 The special handling for the ::has-default and ::has-focus properties |