Commit 9ce64b92 authored by James Henstridge's avatar James Henstridge

gedit: don't assume file chooser is a GtkWindow

gtk_native_dialog_show() will present the dialog, so should be
parent 34419a44
......@@ -442,7 +442,7 @@ _gedit_cmd_file_open (GSimpleAction *action,
g_return_if_fail (GEDIT_IS_FILE_CHOOSER_DIALOG (data));
gtk_window_present (GTK_WINDOW (data));
gedit_file_chooser_dialog_show (GEDIT_FILE_CHOOSER_DIALOG (data));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment