summaryrefslogtreecommitdiff
path: root/gtk/gtkmountoperation.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-04-28 17:34:20 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-04-28 23:20:13 +0000
commit0ae71cacb41cd19e0b055dabfd72afce688dbeb2 (patch)
treed161449431583c0c2fbec6c5ce26d2483e474716 /gtk/gtkmountoperation.c
parent218d635ca29ebb8d75f3022a4c43d4832a948cbe (diff)
downloadgtk+-0ae71cacb41cd19e0b055dabfd72afce688dbeb2.tar.gz
mount operation: Handle default activation via action
Switch to the new way of activating default.
Diffstat (limited to 'gtk/gtkmountoperation.c')
-rw-r--r--gtk/gtkmountoperation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkmountoperation.c b/gtk/gtkmountoperation.c
index 05f9f821d3..f1bf119437 100644
--- a/gtk/gtkmountoperation.c
+++ b/gtk/gtkmountoperation.c
@@ -455,7 +455,7 @@ pw_dialog_cycle_focus (GtkWidget *widget,
if (next_widget)
gtk_widget_grab_focus (next_widget);
else if (pw_dialog_input_is_valid (operation))
- gtk_window_activate_default (GTK_WINDOW (priv->dialog));
+ gtk_widget_activate_default (widget);
}
static GtkWidget *