diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-03-02 08:49:00 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-03-16 21:24:44 -0400 |
commit | 2bf1561b48ee02f340515e6a3e08bc08d89b5f18 (patch) | |
tree | abf1a100d133a1e7077cc0898dbe778205f6e4f5 /gtk/inspector/misc-info.c | |
parent | bd44831987381a6e790c6703ab68b443e89cb727 (diff) | |
download | gtk+-2bf1561b48ee02f340515e6a3e08bc08d89b5f18.tar.gz |
Port widgets to the root focus API
Diffstat (limited to 'gtk/inspector/misc-info.c')
-rw-r--r-- | gtk/inspector/misc-info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/inspector/misc-info.c b/gtk/inspector/misc-info.c index 9c3b3ec05f..f352894daf 100644 --- a/gtk/inspector/misc-info.c +++ b/gtk/inspector/misc-info.c @@ -222,7 +222,7 @@ update_focus_widget (GtkInspectorMiscInfo *sl) { GtkWidget *widget; - widget = gtk_window_get_focus (GTK_WINDOW (sl->priv->object)); + widget = gtk_root_get_focus (GTK_ROOT (sl->priv->object)); if (widget) { gchar *tmp; @@ -249,7 +249,7 @@ show_focus_widget (GtkWidget *button, GtkInspectorMiscInfo *sl) { GtkWidget *widget; - widget = gtk_window_get_focus (GTK_WINDOW (sl->priv->object)); + widget = gtk_root_get_focus (GTK_ROOT (sl->priv->object)); if (widget) show_object (sl, G_OBJECT (widget), "properties"); } |