Commit eac5028a authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Don't set a parent on a toplevel

parent 37b6e2b3
......@@ -341,7 +341,8 @@ show_selected_layout (GtkWidget * button, GtkBuilder * dialog)
GtkWidget *parent = WID ("region_dialog");
GtkWidget *popup =
gkbd_keyboard_drawing_new_dialog (idx, descr);
gtk_widget_set_parent (popup, parent);
gtk_window_set_transient_for (GTK_WINDOW (popup),
GTK_WINDOW (parent));
g_strfreev (layouts_list);
g_free (descr);
Supports Markdown
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