GtkDialog mapped without a transient parent
You fix this warning by giving the GtkDialog a parent to be modal to. The relevant functions are gtk_window_set_transient_for()
(which sets this window to always be on top of, or transient for, another one) and optionally gtk_window_set_modal()
to make it a modal dialog. This is ultimately what the various GtkDialog constructors do.