diff options
author | Timm Bäder <mail@baedert.org> | 2017-02-08 09:00:29 +0100 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2017-03-31 09:50:39 +0200 |
commit | 43cdeee3c4a5486664e68394d08469c5a39770a3 (patch) | |
tree | 41a6e5acc22fcb59be2347a587ee5030a28fce40 /gtk/gtkpopover.c | |
parent | 2bab2048f9c44a11b8bc5328abbe63b8c3cb084c (diff) | |
download | gtk+-43cdeee3c4a5486664e68394d08469c5a39770a3.tar.gz |
widget: Save pointer to focus child
Do the same thing GtkContainer does.
Diffstat (limited to 'gtk/gtkpopover.c')
-rw-r--r-- | gtk/gtkpopover.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c index 94311abb5e..6c72402cb5 100644 --- a/gtk/gtkpopover.c +++ b/gtk/gtkpopover.c @@ -1511,7 +1511,7 @@ gtk_popover_focus (GtkWidget *widget, */ while (focus && focus != widget) { - gtk_container_set_focus_child (GTK_CONTAINER (focus), NULL); + gtk_widget_set_focus_child (focus, NULL); focus = gtk_widget_get_parent (focus); } |